mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
fix: arm supported maxcpu<64
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user