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

From: Paolo Bonzini
Date: Mon Dec 20 2021 - 11:49:43 EST


On 12/16/21 03:19, Lai Jiangshan wrote:
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.)

This cycle has been a bit more disorganized than usual, due to me taking some time off and a very unusual amount of patches sent for -rc. Usually kvm/queue is updated about once a week and kvm/next once every 1-2 weeks.

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(-)


Queued, thanks.

Paolo