From: Ian Jackson Date: Fri, 24 Oct 2008 18:01:33 +0000 (+0100) Subject: hw/xen_machine_*: set max_cpus X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8dd92810e6dd03cdaadd6325ecc02a7b76df0bc5;p=xenclient%2Fioemu.git hw/xen_machine_*: set max_cpus The merged qemu checks the cpus requested against the machine's max_cpus, so we need to set these to 1. --- diff --git a/hw/xen_machine_fv.c b/hw/xen_machine_fv.c index 1f85c5c9..b85388e5 100644 --- a/hw/xen_machine_fv.c +++ b/hw/xen_machine_fv.c @@ -289,6 +289,7 @@ QEMUMachine xenfv_machine = { "Xen Fully-virtualized PC", xen_init_fv, (VGA_RAM_SIZE + BIOS_SIZE) | RAMSIZE_FIXED, + .max_cpus = 1, }; /* diff --git a/hw/xen_machine_pv.c b/hw/xen_machine_pv.c index 798b7354..9c4e33de 100644 --- a/hw/xen_machine_pv.c +++ b/hw/xen_machine_pv.c @@ -78,6 +78,7 @@ QEMUMachine xenpv_machine = { "Xen Para-virtualized PC", xen_init_pv, (VGA_RAM_SIZE + BIOS_SIZE) | RAMSIZE_FIXED, + .max_cpus = 1, }; /*