summaryrefslogtreecommitdiff
path: root/hw/ipf.c
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-10-17 14:26:57 +0800
committerAvi Kivity <avi@redhat.com>2008-10-19 11:37:57 +0200
commitfe6a2913ee700b78488591955903e3abcde01277 (patch)
tree41b8c55a79aac8bb191b7d198771614e05d6eb55 /hw/ipf.c
parentRegenerate bios for firmware uuid interface (diff)
downloadqemu-kvm-fe6a2913ee700b78488591955903e3abcde01277.tar.gz
qemu-kvm-fe6a2913ee700b78488591955903e3abcde01277.tar.bz2
qemu-kvm-fe6a2913ee700b78488591955903e3abcde01277.zip
Change ia64 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> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/ipf.c')
-rw-r--r--hw/ipf.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/hw/ipf.c b/hw/ipf.c
index 0cf3aaffd..337c85426 100644
--- a/hw/ipf.c
+++ b/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