hw/arm/virt: increase max SMP CPU support to 8 for ARM virt
PATCH 1/1 hw/arm/virt: increase max SMP CPU support to 8 for ARM virt
Current ARM virt model supports up to 4 CPUs. Given that many recent ARM servers contain 8 or more cores, it is time to bump up max guest CPUs to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8 VCPUs showed up.
--- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +1 -1
@@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = { .name = "virt", .desc = "ARM Virtual Machine", .init = machvirt_init, - .max_cpus = 4, + .max_cpus = 8, };static void machvirt_machine_init (void )
Signature · 1 line
1.8.3.1
Quoted 6 lines · Wei Huang
Current ARM virt model supports up to 4 CPUs. Given that many recent ARM servers contain 8 or more cores, it is time to bump up max guest CPUs to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8 VCPUs showed up.
Signed-off-by Wei Huang <[email protected]>
Great minds think alike :)
http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg03306.html
Quoted 17 lines
--- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/virt.c +1
-1@@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = { .name = "virt", .desc = "ARM Virtual Machine", .init = machvirt_init, - .max_cpus = 4, + .max_cpus = 8, };static void machvirt_machine_init (void )
Quoted 10 lines · Joel Schopp
Quoted 6 lines · Wei Huang
Current ARM virt model supports up to 4 CPUs. Given that many recent ARM servers contain 8 or more cores, it is time to bump up max guest CPUs to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8 VCPUs showed up.
Signed-off-by Wei Huang <[email protected]>Great minds think alike :)
http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg03306.html
Oops, I missed this one. Thanks for pointing it out. :P
Quoted 20 lines
Quoted 18 lines
--- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/virt.c +1
-1@@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = { .name = "virt", .desc = "ARM Virtual Machine", .init = machvirt_init, - .max_cpus = 4, + .max_cpus = 8, };static void machvirt_machine_init (void )