commit | b428018a065b62191b9f8a3f553ebf4423017a78 | [log] [tgz] |
---|---|---|
author | David Matlack <dmatlack@google.com> | Mon Dec 19 12:48:41 2016 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Dec 21 18:55:09 2016 +0100 |
tree | 2f0f76fa4e6cf73413905d5459983c7c9a8f2499 | |
parent | ef85b67385436ddc1998f45f1d6a210f935b3388 [diff] |
KVM: nVMX: fix instruction skipping during emulated vm-entry kvm_skip_emulated_instruction() should not be called after emulating a VM-entry failure during or after loading guest state (nested_vmx_entry_failure()). Otherwise the L1 hypervisor is resumed some number of bytes past vmcs->host_rip. Fixes: eb2775621701e6ee3ea2a474437d04e93ccdcb2f Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>