aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-02-23 16:56:26 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-25 05:13:05 -0500
commit2df8d3807ce7f75bb975f1aeae8fc6757527c62d (patch)
tree9fac68fd57e5e26c43cefe5857121c1de4da9b22 /Documentation
parentKVM: vmx/pmu: Fix dummy check if lbr_desc->event is created (diff)
downloadlinux-dev-2df8d3807ce7f75bb975f1aeae8fc6757527c62d.tar.xz
linux-dev-2df8d3807ce7f75bb975f1aeae8fc6757527c62d.zip
KVM: SVM: Fix nested VM-Exit on #GP interception handling
Fix the interpreation of nested_svm_vmexit()'s return value when synthesizing a nested VM-Exit after intercepting an SVM instruction while L2 was running. The helper returns '0' on success, whereas a return value of '0' in the exit handler path means "exit to userspace". The incorrect return value causes KVM to exit to userspace without filling the run state, e.g. QEMU logs "KVM: unknown exit, hardware reason 0". Fixes: 14c2bf81fcd2 ("KVM: SVM: Fix #GP handling for doubly-nested virtualization") Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210224005627.657028-1-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions