[RFC/RFT PATCH v3 0/4] KVM: x86: full virtualization of guest MTRR
From: Paolo Bonzini
Date: Wed Jul 08 2015 - 11:18:46 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/