diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2019-01-09 18:22:56 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2019-01-11 18:41:53 +0100 |
commit | 826c1362e79abcd36f99092acd083b5a2d576676 (patch) | |
tree | 01d931fba8a4c188e972f7956d4bec2acff78a4c /drivers/scsi/csiostor | |
parent | cf1754c2a1d6e92688f7353aa7f598f5ad6d8f78 (diff) |
x86/kvm/nVMX: don't skip emulated instruction twice when vmptr address is not backed
Since commit 09abb5e3e5e50 ("KVM: nVMX: call kvm_skip_emulated_instruction
in nested_vmx_{fail,succeed}") nested_vmx_failValid() results in
kvm_skip_emulated_instruction() so doing it again in handle_vmptrld() when
vmptr address is not backed is wrong, we end up advancing RIP twice.
Fixes: fca91f6d60b6e ("kvm: nVMX: Set VM instruction error for VMPTRLD of unbacked page")
Reported-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'drivers/scsi/csiostor')
0 files changed, 0 insertions, 0 deletions