commit | 7cdc2d62f9cce8a02eb2a5fbfca6813f04189487 | [log] [tgz] |
---|---|---|
author | Jim Mattson <jmattson@google.com> | Thu Jul 06 16:33:05 2017 -0700 |
committer | Radim Krčmář <rkrcmar@redhat.com> | Wed Jul 12 18:41:10 2017 +0200 |
tree | b1c982322d705fe9fad56a85e069199d5b4dc8d1 | |
parent | 8c61af9ebc016180507b246c875217e188be6eca [diff] |
kvm: nVMX: Don't set vmcs12 to "launched" when VMLAUNCH fails The VMCS launch state is not set to "launched" unless the VMLAUNCH actually succeeds. VMLAUNCH failure includes VM-exits with bit 31 set. Note that this change does not address the general problem that a failure to launch/resume vmcs02 (i.e. vmx->fail) is not handled correctly. Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>