KVM: nSVM: remove a warning about vmcb01 VM exit reason
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 4 May 2021 14:39:36 +0000 (17:39 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:14 +0000 (06:06 -0400)
commit809c79137a192d7e881a517f803ebbf96305f066
treed22f820f92fddce81d487a9779ce3bbc13510db6
parent063ab16c14db5a2ef52d54d0475b7fed19c982d7
KVM: nSVM: remove a warning about vmcb01 VM exit reason

While in most cases, when returning to use the VMCB01,
the exit reason stored in it will be SVM_EXIT_VMRUN,
on first VM exit after a nested migration this field
can contain anything since the VM entry did happen
before the migration.

Remove this warning to avoid the false positive.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210504143936.1644378-3-mlevitsk@redhat.com>
Fixes: 9a7de6ecc3ed ("KVM: nSVM: If VMRUN is single-stepped, queue the #DB intercept in nested_svm_vmexit()")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c