All of lore.kernel.org
 help / color / mirror / Atom feed
* Qemu: Change default max_cpus to 255.
@ 2008-10-17  7:17 ` Zhang, Xiantao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Xiantao @ 2008-10-17  7:17 UTC (permalink / raw)
  To: kvm-ia64

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

Hi, Avi
	Fix the issue caused by latest merge with Qemu upstream. 
Thanks
Xiantao
From 4f921522258c2200353102d3813a30af9d753ae0 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Fri, 17 Oct 2008 14:26:57 +0800
Subject: [PATCH] Qemu: Change default max_cpus to 255.

Initilize the field max_cpus of machine to 255 for ia64.
Use C99 style to intilize machine structure.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/ipf.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/qemu/hw/ipf.c b/qemu/hw/ipf.c
index 0cf3aaf..337c854 100644
--- a/qemu/hw/ipf.c
+++ b/qemu/hw/ipf.c
@@ -659,10 +659,11 @@ static void ipf_init_pci(ram_addr_t ram_size, int
vga_ram_size,
 }
 
 QEMUMachine ipf_machine = {
-    "itanium",
-    "Itanium Platform",
-    ipf_init_pci,
-    VGA_RAM_SIZE + GFW_SIZE,
+    .name = "itanium",
+    .desc = "Itanium Platform",
+    .init = ipf_init_pci,
+    .ram_require = VGA_RAM_SIZE + GFW_SIZE,
+    .max_cpus = 255,
 };
 
 #define IOAPIC_NUM_PINS 48
-- 
1.6.0

[-- Attachment #2: 0005-Qemu-Change-default-max_cpus-to-255.patch --]
[-- Type: application/octet-stream, Size: 974 bytes --]

From 4f921522258c2200353102d3813a30af9d753ae0 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Fri, 17 Oct 2008 14:26:57 +0800
Subject: [PATCH] Qemu: Change default max_cpus to 255.

Initilize the field max_cpus of machine to 255 for ia64.
Use C99 style to intilize machine structure.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/ipf.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/qemu/hw/ipf.c b/qemu/hw/ipf.c
index 0cf3aaf..337c854 100644
--- a/qemu/hw/ipf.c
+++ b/qemu/hw/ipf.c
@@ -659,10 +659,11 @@ static void ipf_init_pci(ram_addr_t ram_size, int vga_ram_size,
 }
 
 QEMUMachine ipf_machine = {
-    "itanium",
-    "Itanium Platform",
-    ipf_init_pci,
-    VGA_RAM_SIZE + GFW_SIZE,
+    .name = "itanium",
+    .desc = "Itanium Platform",
+    .init = ipf_init_pci,
+    .ram_require = VGA_RAM_SIZE + GFW_SIZE,
+    .max_cpus = 255,
 };
 
 #define IOAPIC_NUM_PINS 48
-- 
1.6.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-19  9:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17  7:17 Qemu: Change default max_cpus to 255 Zhang, Xiantao
2008-10-17  7:17 ` Zhang, Xiantao
2008-10-19  9:38 ` Avi Kivity
2008-10-19  9:38   ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.