fix: arm supported maxcpu<64

This commit is contained in:
Qiu Jian
2021-12-24 17:58:21 +08:00
parent dfda9d51b0
commit e9d0ffa102
+1 -1
View File
@@ -167,7 +167,7 @@ function nic_mtu() {
// warning: Number of hotpluggable cpus requested (128)
// exceeds the recommended cpus supported by KVM (32)
cmd += fmt.Sprintf(" -smp cpus=%d,sockets=2,cores=64,maxcpus=128", cpu)
cmd += fmt.Sprintf(" -smp cpus=%d,sockets=2,cores=32,maxcpus=64", cpu)
cmd += fmt.Sprintf(" -name %s", name)
if options.HostOptions.EnableVmUuid {
cmd += fmt.Sprintf(" -uuid %s", uuid)