diff options
author | Thomas Huth <thuth@redhat.com> | 2025-06-06 11:20:33 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-06-25 16:56:25 +0200 |
commit | 3dc9951906af4d47dddd56afd4c27ac8b3ed3c24 (patch) | |
tree | b1acf49b9d9182a3a553ebfb4d6a8b2d892aa0be | |
parent | f9a3def17b2a57679902c33064cf7853263db0ef (diff) | |
download | qemu-3dc9951906af4d47dddd56afd4c27ac8b3ed3c24.zip qemu-3dc9951906af4d47dddd56afd4c27ac8b3ed3c24.tar.gz qemu-3dc9951906af4d47dddd56afd4c27ac8b3ed3c24.tar.bz2 |
tests/functional/test_pc_cpu_hotplug_props: Set 'pc' machine type explicitly
In case the default machine has not been compiled into the QEMU
binary, the cpu_hotplug_props test is currently failing. Add a
set_machine('pc') here to make sure that the tests are correctly
skipped in case the machine is not available.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250606092033.506736-1-thuth@redhat.com>
-rwxr-xr-x | tests/functional/test_pc_cpu_hotplug_props.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/test_pc_cpu_hotplug_props.py b/tests/functional/test_pc_cpu_hotplug_props.py index 9d5a37c..2bed8ad 100755 --- a/tests/functional/test_pc_cpu_hotplug_props.py +++ b/tests/functional/test_pc_cpu_hotplug_props.py @@ -26,6 +26,7 @@ from qemu_test import QemuSystemTest class OmittedCPUProps(QemuSystemTest): def test_no_die_id(self): + self.set_machine('pc') self.vm.add_args('-nodefaults', '-S') self.vm.add_args('-smp', '1,sockets=2,cores=2,threads=2,maxcpus=8') self.vm.add_args('-device', 'qemu64-x86_64-cpu,socket-id=1,core-id=0,thread-id=0') |