diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-17 01:27:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-17 01:27:28 +0000 |
commit | d3e9db933f416c9f1c04df4834d36e2315952e42 (patch) | |
tree | 0e7ba8465ed6fc1c926378dc845ce022dc5672c6 /vl.c | |
parent | 01dbbdf1e505f78d440cf8b386092b3848d0a9fd (diff) |
initial support for up to 255 CPUs
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1707 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -153,10 +153,12 @@ USBPort *vm_usb_ports[MAX_VM_USB_PORTS]; USBDevice *vm_usb_hub; static VLANState *first_vlan; int smp_cpus = 1; -#ifdef TARGET_SPARC +#if defined(TARGET_SPARC) #define MAX_CPUS 16 +#elif defined(TARGET_I386) +#define MAX_CPUS 255 #else -#define MAX_CPUS 8 +#define MAX_CPUS 1 #endif /***********************************************************/ |