From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: [PATCH] QEMU kill CR3_CACHE references Date: Fri, 19 Feb 2010 07:43:24 +0100 Message-ID: <4B7E330C.4090302@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010902090903000803030804" Cc: QEMU Developers , KVM General , Marcelo Tosatti To: Anthony Liguori Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43828 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753722Ab0BSGne (ORCPT ); Fri, 19 Feb 2010 01:43:34 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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--