Skip to content
Snippets Groups Projects
Commit 52ed5e31 authored by Vitaly Kuznetsov's avatar Vitaly Kuznetsov
Browse files

KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2115238



commit c3634d25
Author: Sean Christopherson <seanjc@google.com>
Date:   Thu Apr 7 00:23:14 2022 +0000

    KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry

    Don't modify vmcs12 exit fields except EXIT_REASON and EXIT_QUALIFICATION
    when performing a nested VM-Exit due to failed VM-Entry.  Per the SDM,
    only the two aformentioned fields are filled and "All other VM-exit
    information fields are unmodified".

    Fixes: 4704d0be ("KVM: nVMX: Exiting from L2 to L1")
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
    Message-Id: <20220407002315.78092-3-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>

Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
parent 31a841ff
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment