]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: Convert the hotplug_cpu avocado test
authorThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2024 13:52:45 +0000 (14:52 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2024 19:52:12 +0000 (20:52 +0100)
commitbf850896961fe228a79044c79e97f8aac464a16f
treef6619547dd4ef4a11a330125d6d1a5d3e3c9d650
parent270d4a5164ed9881ee7b9e8190a24e37af82a7e1
tests/functional: Convert the hotplug_cpu avocado test

Since we don't have ssh support in the functional test framework yet,
simply use the serial console for this test instead. It's also
sufficient to only boot into an initrd here, no need to fire up a
full-blown guest, so the test now finishes much faster.

While we're at it, also unplug the CPU now and check that it is gone
in the guest.

Message-ID: <20241217142020.155776-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/avocado/hotplug_cpu.py [deleted file]
tests/functional/meson.build
tests/functional/test_x86_64_hotplug_cpu.py [new file with mode: 0755]