mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-13 15:14:08 +00:00
Merge pull request #1449 from alicefr/thread_id
s390x: not set socketID and threadID
This commit is contained in:
commit
c884f65a26
@ -1115,8 +1115,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, we do not set socketID and threadID
|
||||
if machine.Type == "pseries" {
|
||||
// If CPU type is IBM pSeries or Z, we do not set socketID and threadID
|
||||
if machine.Type == "pseries" || machine.Type == "s390-ccw-virtio" {
|
||||
socketID = ""
|
||||
threadID = ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user