[PATCH] QEMU kill CR3_CACHE references

Jes Sorensen
2010-02-19T06:43:34Z

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

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

[-- Attachment #2: 0000-qemu-kill-c3-cache.patch --]
[-- Type: text/plain, Size: 642 bytes --]

commit 5ed16687929511d015dd3542c4359cabe170401a
Author: Jes Sorensen <Jes.Sorensen@redhat.com>
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 <Jes.Sorensen@redhat.com>

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 }
};