From: Jerone Young Date: Fri, 18 Jan 2008 21:50:47 +0000 Subject: [kvm-ppc-devel] [PATCH 3 of 4] [PATCH] add more regs to Message-Id: List-Id: 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 1200692014 21600 # Node ID c1641ad67444cc0401fe3462b33dd88df01beae0 # Parent 0edd55ea28332ab4dd60ca6034d9fe391f6f0131 [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