aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 4b1e72e9eb..b68b20a404 100644
--- a/vl.c
+++ b/vl.c
@@ -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
/***********************************************************/