Files
kernel_arpi/include/uapi/linux
Liran Alon 7396d337cf KVM: x86: Return to userspace with internal error on unexpected exit reason
Receiving an unexpected exit reason from hardware should be considered
as a severe bug in KVM. Therefore, instead of just injecting #UD to
guest and ignore it, exit to userspace on internal error so that
it could handle it properly (probably by terminating guest).

In addition, prefer to use vcpu_unimpl() instead of WARN_ONCE()
as handling unexpected exit reason should be a rare unexpected
event (that was expected to never happen) and we prefer to print
a message on it every time it occurs to guest.

Furthermore, dump VMCS/VMCB to dmesg to assist diagnosing such cases.

Reviewed-by: Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-09-11 15:42:45 +02:00
..
2019-01-28 08:13:52 +01:00
2019-04-24 09:46:34 -04:00
2019-07-09 12:11:59 -07:00
2019-05-23 21:07:30 -04:00
2019-03-07 18:32:01 -08:00
2019-01-24 11:11:42 -07:00
2019-06-14 15:00:51 +05:30
2019-02-14 11:51:51 -05:00
2018-12-20 19:13:07 +01:00
2019-03-27 13:30:07 -07:00
2019-05-27 11:42:36 +02:00
2018-09-13 10:46:24 +02:00
2018-09-05 22:27:11 -07:00
2019-06-27 22:53:26 +02:00
2019-07-09 14:32:14 -06:00
2018-08-03 10:03:57 -07:00
2018-12-16 12:15:25 -08:00
2018-12-01 12:38:32 +01:00
2019-05-28 21:37:30 -07:00
2019-06-13 16:49:45 -05:00
2019-01-22 10:21:45 +01:00
2019-05-28 21:37:30 -07:00
2019-07-25 12:05:28 +02:00
2019-02-14 11:51:51 -05:00
2018-09-03 13:29:38 +02:00
2019-06-19 16:56:14 +02:00