Merge pull request #3923 from Jakob-Naucke/no-initrd-se

runtime: Allow and require no initrd for SE
This commit is contained in:
Fabiano Fidêncio
2022-04-05 09:26:07 +02:00
committed by GitHub
4 changed files with 27 additions and 21 deletions

View File

@@ -1840,7 +1840,7 @@ func (q *qemu) hotplugAddCPUs(amount uint32) (uint32, error) {
threadID := fmt.Sprintf("%d", hc.Properties.Thread)
// 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" {
if machine.Type == "pseries" || machine.Type == QemuCCWVirtio || machine.Type == "virt" {
socketID = ""
threadID = ""
dieID = ""