linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] KVM: x86: nVMX: Nested PML bug fix and cleanup
@ 2020-06-22 21:58 Sean Christopherson
  2020-06-22 21:58 ` [PATCH 1/4] KVM: nVMX: Plumb L2 GPA through to PML emulation Sean Christopherson
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sean Christopherson @ 2020-06-22 21:58 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Sean Christopherson, Vitaly Kuznetsov, Wanpeng Li, Jim Mattson,
	Joerg Roedel, kvm, linux-kernel

Fix for a theoretical bug in nested PML emulation, and additional clean up
of the related code.

Tested by doing a few rounds of intra-VM migration (same L1) of an L2
guest with PML confirmed enabled in L1.

This has a trivial conflict with patch 3 of the MMU files series[*], both
remove function prototypes from mmu.h.

[*] https://lkml.kernel.org/r/20200622202034.15093-4-sean.j.christopherson@intel.com

Sean Christopherson (4):
  KVM: nVMX: Plumb L2 GPA through to PML emulation
  KVM: x86/mmu: Drop kvm_arch_write_log_dirty() wrapper
  KVM: nVMX: WARN if PML emulation helper is invoked outside of nested
    guest
  KVM: x86/mmu: Make .write_log_dirty a nested operation

 arch/x86/include/asm/kvm_host.h |  2 +-
 arch/x86/kvm/mmu.h              |  1 -
 arch/x86/kvm/mmu/mmu.c          | 15 -------------
 arch/x86/kvm/mmu/paging_tmpl.h  |  7 +++---
 arch/x86/kvm/vmx/nested.c       | 38 +++++++++++++++++++++++++++++++++
 arch/x86/kvm/vmx/vmx.c          | 37 --------------------------------
 6 files changed, 43 insertions(+), 57 deletions(-)

-- 
2.26.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-22 22:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 21:58 [PATCH 0/4] KVM: x86: nVMX: Nested PML bug fix and cleanup Sean Christopherson
2020-06-22 21:58 ` [PATCH 1/4] KVM: nVMX: Plumb L2 GPA through to PML emulation Sean Christopherson
2020-06-22 21:58 ` [PATCH 2/4] KVM: x86/mmu: Drop kvm_arch_write_log_dirty() wrapper Sean Christopherson
2020-06-22 21:58 ` [PATCH 3/4] KVM: nVMX: WARN if PML emulation helper is invoked outside of nested guest Sean Christopherson
2020-06-22 21:58 ` [PATCH 4/4] KVM: x86/mmu: Make .write_log_dirty a nested operation Sean Christopherson
2020-06-22 22:26   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).