]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00339800f2c302e2f88f72027bae8f2ac3c92964
treef15028b9039dc346e8b64b8e338793660c1bdd3b
parente7d983b825ce01e3d09f7a5b1f3d49798293b34d
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