kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/RFT PATCH v2 0/4] KVM: x86: full virtualization of guest MTRR
@ 2015-07-07 13:45 Paolo Bonzini
  2015-07-07 13:45 ` [PATCH 1/4] KVM: count number of assigned devices Paolo Bonzini
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Paolo Bonzini @ 2015-07-07 13:45 UTC (permalink / raw)
  To: linux-kernel, kvm
  Cc: guangrong.xiao, jroedel, alex.williamson, ogerlitz, amirv

This part of the MTRR patches was dropped by Xiao.  Bring SVM on feature
parity with VMX, and then do guest MTRR virtualization for both VMX and SVM.

The IPAT bit of VMX extended page tables is emulated by mangling the guest
PAT value.

I do not have any AMD machines that support an IOMMU, so I would like
some help testing these patches.  Thanks,

Paolo

v1->v2: AMD IOMMUs do have snooping control [Joerg]
	New patch 1

Jan Kiszka (1):
  KVM: SVM: Sync g_pat with guest-written PAT value

Paolo Bonzini (3):
  KVM: count number of assigned devices
  KVM: SVM: use NPT page attributes
  KVM: x86: apply guest MTRR virtualization on host reserved pages

 arch/x86/include/asm/kvm_host.h |  3 ++-
 arch/x86/kvm/iommu.c            |  2 ++
 arch/x86/kvm/svm.c              | 54 +++++++++++++++++++++++++++++++++++++----
 arch/x86/kvm/vmx.c              | 11 +++------
 arch/x86/kvm/x86.c              | 18 ++++++++++++++
 include/linux/kvm_host.h        | 18 +++++++++++++-
 virt/kvm/vfio.c                 |  5 ++++
 7 files changed, 96 insertions(+), 15 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [RFC/RFT PATCH v3 0/4] KVM: x86: full virtualization of guest MTRR
@ 2015-07-08 15:18 Paolo Bonzini
  2015-07-08 15:18 ` [PATCH 2/4] KVM: SVM: use NPT page attributes Paolo Bonzini
  0 siblings, 1 reply; 20+ messages in thread
From: Paolo Bonzini @ 2015-07-08 15:18 UTC (permalink / raw)
  To: linux-kernel, kvm
  Cc: guangrong.xiao, jroedel, alex.williamson, ogerlitz, amirv

This part of the MTRR patches was dropped by Xiao.  Bring SVM on feature
parity with VMX, and then do guest MTRR virtualization for both VMX and SVM.

The IPAT bit of VMX extended page tables is emulated by mangling the guest
PAT value.

I do not have any AMD machines that support an IOMMU, so I would like
some help testing these patches.  Thanks,

Paolo

v1->v2: AMD IOMMUs do have snooping control [Joerg]
	New patch 1

v2->v3: Split __KVM_ARCH_* defines [Alex]
	SVM: correctly map MTRR values to pgprot [Xiao]

Jan Kiszka (1):
  KVM: SVM: Sync g_pat with guest-written PAT value

Paolo Bonzini (3):
  KVM: count number of assigned devices
  KVM: SVM: use NPT page attributes
  KVM: x86: apply guest MTRR virtualization on host reserved pages

 arch/x86/include/asm/kvm_host.h |   2 +
 arch/x86/kvm/iommu.c            |   2 +
 arch/x86/kvm/svm.c              | 108 ++++++++++++++++++++++++++++++++++++++--
 arch/x86/kvm/vmx.c              |  11 ++--
 arch/x86/kvm/x86.c              |  18 +++++++
 include/linux/kvm_host.h        |  18 +++++++
 virt/kvm/vfio.c                 |   5 ++
 7 files changed, 151 insertions(+), 13 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2015-07-17  2:31 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 13:45 [RFC/RFT PATCH v2 0/4] KVM: x86: full virtualization of guest MTRR Paolo Bonzini
2015-07-07 13:45 ` [PATCH 1/4] KVM: count number of assigned devices Paolo Bonzini
2015-07-07 15:22   ` Alex Williamson
2015-07-07 15:36     ` Paolo Bonzini
2015-07-07 13:45 ` [PATCH 2/4] KVM: SVM: use NPT page attributes Paolo Bonzini
2015-07-08  5:59   ` Xiao Guangrong
2015-07-08 11:19     ` Paolo Bonzini
2015-07-09  2:30       ` Xiao Guangrong
2015-07-09 15:18         ` Paolo Bonzini
2015-07-10  1:19           ` Xiao Guangrong
2015-07-10 10:47             ` Paolo Bonzini
2015-07-10 16:02               ` Xiao Guangrong
2015-07-17  0:35   ` Andy Lutomirski
2015-07-17  2:31     ` Paolo Bonzini
2015-07-07 13:45 ` [PATCH 3/4] KVM: SVM: Sync g_pat with guest-written PAT value Paolo Bonzini
2015-07-07 13:45 ` [PATCH 4/4] KVM: x86: apply guest MTRR virtualization on host reserved pages Paolo Bonzini
2015-07-07 14:06 ` [RFC/RFT PATCH v2 0/4] KVM: x86: full virtualization of guest MTRR Joerg Roedel
2015-07-07 14:09   ` Paolo Bonzini
2015-07-07 14:14     ` Joerg Roedel
  -- strict thread matches above, loose matches on Subject: below --
2015-07-08 15:18 [RFC/RFT PATCH v3 " Paolo Bonzini
2015-07-08 15:18 ` [PATCH 2/4] KVM: SVM: use NPT page attributes 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).