Skip to contentSkip to conversation

add more regs to

PATCH New Jerone Young 1 participant 2 messages Jan 18, 2008 – Jan 25, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add more regs to

# HG changeset patch
# User Christian Ehrhardt <[email protected]> # 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 <[email protected]>
From: Christian Ehrhardt <[email protected]>

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.

qemu/vl.c +3 -3
@@ -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 [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

#1 lore raw

PATCH 1/1 add more regs to

# HG changeset patch
# User Christian Ehrhardt <[email protected]> # 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 <[email protected]>
From: Christian Ehrhardt <[email protected]>

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.

qemu/vl.c +3 -3
@@ -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 [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel