diff --git a/pkg/hostman/guestman/qemu-kvmhelper.go b/pkg/hostman/guestman/qemu-kvmhelper.go index cd32bbf562..7c527f3370 100644 --- a/pkg/hostman/guestman/qemu-kvmhelper.go +++ b/pkg/hostman/guestman/qemu-kvmhelper.go @@ -513,7 +513,7 @@ function nic_mtu() { cmd += fmt.Sprintf(" -machine %s,accel=%s", s.getMachine(), accel) cmd += " -k en-us" // #cmd += " -g 800x600" - cmd += fmt.Sprintf(" -smp %d,maxcpus=255", cpu) + cmd += fmt.Sprintf(" -smp cpus=%d,sockets=2,cores=64,maxcpus=128", cpu) cmd += fmt.Sprintf(" -name %s", name) // #cmd += fmt.Sprintf(" -uuid %s", self.desc["uuid"]) cmd += fmt.Sprintf(" -m %dM,slots=4,maxmem=524288M", mem)