kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
authorJim Mattson <[email protected]>
Thu, 2 Mar 2017 20:41:48 +0000 (12:41 -0800)
committerRadim Krčmář <[email protected]>
Mon, 6 Mar 2017 16:31:29 +0000 (17:31 +0100)
commit587d7e72aedca91cee80c0a56811649c3efab765
tree76df3d577707dd01e65392838f31b783588f6a7e
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
kvm: nVMX: VMCLEAR should not cause the vCPU to shut down

VMCLEAR should silently ignore a failure to clear the launch state of
the VMCS referenced by the operand.

Signed-off-by: Jim Mattson <[email protected]>
[Changed "kvm_write_guest(vcpu->kvm" to "kvm_vcpu_write_guest(vcpu".]
Signed-off-by: Radim Krčmář <[email protected]>
arch/x86/kvm/vmx.c