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 <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
---
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
0005-Qemu-Change-default-max_cpus-to-255.patch
Description: 0005-Qemu-Change-default-max_cpus-to-255.patch
