Skip to content

Commit b28ac26

Browse files
committed
libvirt_vcpu_plug_unplug: adapt to s390x
S390x doesn't have ACPI (s3/s4), nor does it have cpu hot unplug. Set values and filter accordingly for s390x. Signed-off-by: Sebastian Mitterle <smitterl@redhat.com>
1 parent 875c970 commit b28ac26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libvirt/tests/cfg/libvirt_vcpu_plug_unplug.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
restart_libvirtd = "no"
1515
setvcpu_readonly = "no"
1616
topology_correction = "yes"
17+
s390-virtio:
18+
no suspend_to_mem, suspend_to_disk
19+
vcpu_unplug = no
20+
pin_before_unplug = no
1721
variants:
1822
- positive_test:
1923
status_error = "no"
@@ -60,7 +64,6 @@
6064
pin_vcpu = "0"
6165
pin_cpu_list = "x,y"
6266
- pin_unplug:
63-
no s390-virtio
6467
vcpu_plug = "no"
6568
pin_before_unplug = "yes"
6669
pin_vcpu = "2"

0 commit comments

Comments
 (0)