]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: VMX: synthesize invalid VM exit when emulating invalid guest state
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 13 Sep 2021 14:09:52 +0000 (17:09 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Sep 2021 14:47:49 +0000 (10:47 -0400)
commit407af7217c0274db7643e33f8f0e14de2b7f9a3f
treedd9ae550d19bf64e6e83e0833c0d6c512277c3a9
parenta1b65df45684318c3fc46165e43f33510c941372
KVM: x86: VMX: synthesize invalid VM exit when emulating invalid guest state

Since no actual VM entry happened, the VM exit information is stale.
To avoid this, synthesize an invalid VM guest state VM exit.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210913140954.165665-6-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c