From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiMaM-0003P4-L8 for qemu-devel@nongnu.org; Fri, 19 Feb 2010 01:43:34 -0500 Received: from [199.232.76.173] (port=44900 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiMaL-0003Ob-QP for qemu-devel@nongnu.org; Fri, 19 Feb 2010 01:43:33 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NiMaL-0003cO-7S for qemu-devel@nongnu.org; Fri, 19 Feb 2010 01:43:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64411) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NiMaK-0003cC-Sg for qemu-devel@nongnu.org; Fri, 19 Feb 2010 01:43:33 -0500 Message-ID: <4B7E330C.4090302@redhat.com> Date: Fri, 19 Feb 2010 07:43:24 +0100 From: Jes Sorensen MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010902090903000803030804" Subject: [Qemu-devel] [PATCH] QEMU kill CR3_CACHE references List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Marcelo Tosatti , QEMU Developers , KVM General This is a multi-part message in MIME format. --------------010902090903000803030804 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, The CR3 caching was never implemented in QEMU and is obsoleted by NPT/EPT. This patch removes the unused references to it from target-i386/kvm.c. Cheers, Jes --------------010902090903000803030804 Content-Type: text/plain; name="0000-qemu-kill-c3-cache.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0000-qemu-kill-c3-cache.patch" commit 5ed16687929511d015dd3542c4359cabe170401a Author: Jes Sorensen Date: Fri Feb 19 07:39:56 2010 +0100 Remove all references to KVM_CR3_CACHE as it was never implemented. Signed-off-by: Jes Sorensen diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 0d08cd5..5d9aecc 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -158,9 +158,6 @@ struct kvm_para_features { #ifdef KVM_CAP_PV_MMU { KVM_CAP_PV_MMU, KVM_FEATURE_MMU_OP }, #endif -#ifdef KVM_CAP_CR3_CACHE - { KVM_CAP_CR3_CACHE, KVM_FEATURE_CR3_CACHE }, -#endif { -1, -1 } }; --------------010902090903000803030804--