KVM: nSVM: mark vmcb as dirty when forcingly leaving the guest mode
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 7 Jan 2021 09:38:54 +0000 (11:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Jan 2021 23:11:34 +0000 (18:11 -0500)
commit56fe28de8c4f0167275c411c0daa5709e9a47bd7
treef15028b9039dc346e8b64b8e338793660c1bdd3b
parent81f76adad560dfc39cb9625cf1e00a7e2b7b88df
KVM: nSVM: mark vmcb as dirty when forcingly leaving the guest mode

We overwrite most of vmcb fields while doing so, so we must
mark it as dirty.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210107093854.882483-5-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c