Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.
Jes Sorensen <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm,org.kernel.vger.kvm-ppc |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Avi" = Avi Kivity <[email protected]> writes: Avi> Zhang, Xiantao wrote: >> From d184d9b0a91ca674961000ed3d35b7fc25d29e03 Mon Sep 17 00:00:00 >> 2001 From: Xiantao Zhang <[email protected]> Date: Tue, 28 >> Apr 2009 16:59:36 +0800 Subject: [PATCH] qemu-kvm: other archs >> should maintain memory mapping also. Currently, use TARGET_I386 to >> comment out the mapping machanism for other archs, but mapping >> machanism should be useful for other archs to maintain guest's >> memory mapping. >> Avi> Hollis, does this work for you? Avi> If now, you can add a new define KVM_WANT_MAPPING or something, Avi> and define it for I386 and IA64. I have gone ahead and implemented this - however I also redid the must_use_alias code in the process, removing a ton of gross TARGET_I386 #ifdefs. The must_use_alias patch needs to be applied first as it introduces target-<arch>/qemu-kvm-arch.h which is needed for the KVM_WANT_MAPPING patch. Look for follow up mails to this one in a couple of minutes. Cheers, Jes