]> Git Repo - qemu.git/commitdiff
sysemu: support up to 1024 vCPUs
authorGreg Kurz <[email protected]>
Fri, 24 Feb 2017 04:55:31 +0000 (15:55 +1100)
committerDavid Gibson <[email protected]>
Wed, 1 Mar 2017 00:23:39 +0000 (11:23 +1100)
Some systems can already provide more than 255 hardware threads.

Bumping the QEMU limit to 1024 seems reasonable:
- it has no visible overhead in top;
- the limit itself has no effect on hot paths.

Cc: Greg Kurz <[email protected]>
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr.c

index 87d8366c44ee7a6a84888d499c7fc8d3e29fcdcb..0b57aade3f83d8ed7d873187e2a92917c571c113 100644 (file)
@@ -2891,7 +2891,7 @@ static void spapr_machine_class_init(ObjectClass *oc, void *data)
     mc->init = ppc_spapr_init;
     mc->reset = ppc_spapr_reset;
     mc->block_default_type = IF_SCSI;
-    mc->max_cpus = 255;
+    mc->max_cpus = 1024;
     mc->no_parallel = 1;
     mc->default_boot_order = "";
     mc->default_ram_size = 512 * M_BYTE;
This page took 0.029689 seconds and 4 git commands to generate.