From: Jerone Young Date: Fri, 25 Jan 2008 23:34:26 +0000 Subject: [kvm-ppc-devel] [PATCH 3 of 4] [PATCH] add more regs to Message-Id: <1bba54954f3ed64959af.1201304066@thinkpad> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org # HG changeset patch # User Christian Ehrhardt # Date 1201288297 21600 # Node ID 1bba54954f3ed64959afc0d652fac4ccef714974 # Parent 816392b65c12c8fee94f872474eba00a5694267f [PATCH] add more regs to kvm_show_regs for powerpc Subject: [PATCH] add more regs to kvm_show_regs for powerpc From: Hollis Blanchard From: Christian Ehrhardt This make "extra pages" allocation only apply to x86. IA64 already had an exclusion and so does ppc. This patch switches the default to no extra pages and lets I386 and X86_64 get it's 3 extra pages as needed. Signed-off-by: Christian Ehrhardt Signed-off-by: Hollis Blanchard diff --git a/qemu/vl.c b/qemu/vl.c --- a/qemu/vl.c +++ b/qemu/vl.c @@ -9313,10 +9313,10 @@ int main(int argc, char **argv) #if USE_KVM /* Initialize kvm */ -#ifdef TARGET_IA64 +#if defined(TARGET_I386) || defined(TARGET_X86_64) +#define KVM_EXTRA_PAGES 3 +#else #define KVM_EXTRA_PAGES 0 -#else -#define KVM_EXTRA_PAGES 3 #endif if (kvm_allowed) { phys_ram_size += KVM_EXTRA_PAGES * TARGET_PAGE_SIZE; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-ppc-devel mailing list kvm-ppc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel