KVM: VMX: Introduce exit reason for receiving INIT signal on guest-mode
authorLiran Alon <liran.alon@oracle.com>
Mon, 26 Aug 2019 10:24:48 +0000 (13:24 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Sep 2019 16:07:12 +0000 (18:07 +0200)
commit4a53d99dd0c2d076852915bbc2bcc566611f302e
tree69a92467e794690934b950cd85475622be3f5aa8
parent17a81bdb4ee441bcbf09ec76f530197c3788d610
KVM: VMX: Introduce exit reason for receiving INIT signal on guest-mode

According to Intel SDM section 25.2 "Other Causes of VM Exits",
When INIT signal is received on a CPU that is running in VMX
non-root mode it should cause an exit with exit-reason of 3.
(See Intel SDM Appendix C "VMX BASIC EXIT REASONS")

This patch introduce the exit-reason definition.

Reviewed-by: Bhavesh Davda <bhavesh.davda@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Co-developed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Signed-off-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/vmx.h