Merge pull request #13030 from swordqiu/hotfix/qj-arm-supported-max-cpu-64

fix: arm supported maxcpu<64
This commit is contained in:
yunion-ci-robot
2021-12-24 21:58:41 +08:00
committed by GitHub
+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)