diff --git a/src/runtime/virtcontainers/qemu.go b/src/runtime/virtcontainers/qemu.go index 0985380d8..242b3645d 100644 --- a/src/runtime/virtcontainers/qemu.go +++ b/src/runtime/virtcontainers/qemu.go @@ -1840,8 +1840,8 @@ func (q *qemu) hotplugAddCPUs(amount uint32) (uint32, error) { coreID := fmt.Sprintf("%d", hc.Properties.Core) threadID := fmt.Sprintf("%d", hc.Properties.Thread) - // If CPU type is IBM pSeries or Z, we do not set socketID and threadID - if machine.Type == "pseries" || machine.Type == "s390-ccw-virtio" { + // If CPU type is IBM pSeries, Z or arm virt, we do not set socketID and threadID + if machine.Type == "pseries" || machine.Type == "s390-ccw-virtio" || machine.Type == "virt" { socketID = "" threadID = "" dieID = ""