From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757433AbbGGNp6 (ORCPT ); Tue, 7 Jul 2015 09:45:58 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:35790 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757409AbbGGNps (ORCPT ); Tue, 7 Jul 2015 09:45:48 -0400 From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: guangrong.xiao@linux.intel.com, jroedel@suse.de, alex.williamson@redhat.com, ogerlitz@mellanox.com, amirv@mellanox.com Subject: [RFC/RFT PATCH v2 0/4] KVM: x86: full virtualization of guest MTRR Date: Tue, 7 Jul 2015 15:45:35 +0200 Message-Id: <1436276739-50326-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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