[PATCH 0/3] KVM: x86: Fixes for kvm/queue

From: Lai Jiangshan
Date: Wed Dec 15 2021 - 21:19:27 EST


From: Lai Jiangshan <laijs@xxxxxxxxxxxxxxxxx>

Patch 1 and patch 2 are updated version of the original patches with
the same title. The original patches need to be dequeued. (Paolo has
sent the reverting patches to the mail list and done the work, but I
haven't seen the original patches dequeued or reverted in the public
kvm tree. I need to learn a bit more how patches are managed in kvm
tree.)

Patch 3 fixes for commit c62c7bd4f95b ("KVM: VMX: Update vmcs.GUEST_CR3
only when the guest CR3 is dirty"). Patch 3 is better to be reordered
to before the commit since the commit has not yet into Linus' tree.


Lai Jiangshan (3):
KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()
KVM: X86: Ensure pae_root to be reconstructed for shadow paging if the
guest PDPTEs is changed
KVM: VMX: Mark VCPU_EXREG_CR3 dirty when !CR0_PG -> CR0_PG if EPT +
!URG

arch/x86/kvm/vmx/nested.c | 11 +++--------
arch/x86/kvm/vmx/vmx.c | 28 ++++++++++++++++++----------
arch/x86/kvm/vmx/vmx.h | 5 +++--
arch/x86/kvm/x86.c | 7 +++++++
4 files changed, 31 insertions(+), 20 deletions(-)

--
2.19.1.6.gb485710b