* [PULL 0/1] A fix for functional patches
@ 2026-07-12 10:53 Thomas Huth
2026-07-12 10:53 ` [PULL 1/1] tests/functional: fix querying available machines Thomas Huth
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Thomas Huth @ 2026-07-12 10:53 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
Hi Stefan!
The following changes since commit a759542a2c62f0fd3b65f5a66ad9868201014669:
Merge tag 'pull-lu-20260710' of https://gitlab.com/rth7680/qemu into staging (2026-07-11 07:15:53 +0200)
are available in the Git repository at:
https://gitlab.com/huth/qemu.git tags/pull-request-2026-07-12
for you to fetch changes up to 1531b9ec8c2e7033cbb737e2428827677be0a1b0:
tests/functional: fix querying available machines (2026-07-12 10:12:17 +0200)
----------------------------------------------------------------
* Fix functional tests to take aliased machine names into account again
----------------------------------------------------------------
Vladimir Sementsov-Ogievskiy (1):
tests/functional: fix querying available machines
tests/functional/qemu_test/testcase.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread* [PULL 1/1] tests/functional: fix querying available machines
2026-07-12 10:53 [PULL 0/1] A fix for functional patches Thomas Huth
@ 2026-07-12 10:53 ` Thomas Huth
2026-07-12 13:43 ` [PULL 0/1] A fix for functional patches Stefan Hajnoczi
2026-07-13 10:32 ` Stefan Hajnoczi
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2026-07-12 10:53 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
From: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Aliases are not handled, and that's why tests used them
are skipped, like this:
PYTHONPATH=python:tests/functional \
QEMU_TEST_QEMU_BINARY=$PWD/build/qemu-system-x86_64 \
MESON_BUILD_ROOT=$PWD/build \
./build/pyvenv/bin/python3 tests/functional/x86_64/test_hotplug_blk.py
TAP version 13
ok 1 test_hotplug_blk.HotPlugBlk.test # SKIP no support for machine q35
1..1
Fixes: 0e7aa78b0bee50 ("tests/functional: use QMP to query available machines")
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20260710090317.498350-1-vsementsov@yandex-team.ru>
Signed-off-by: Thomas Huth <th.huth@posteo.eu>
---
tests/functional/qemu_test/testcase.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index 4912a47a46..e4179d165c 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -325,9 +325,12 @@ def set_machine(self, machinename):
resp = tmp_vm.qmp('query-machines')
machines = resp.get('return', [])
- cls._machines = [
- m.get('name') for m in machines if 'name' in m
- ]
+ cls._machines = []
+ for m in machines:
+ if 'name' in m:
+ cls._machines.append(m['name'])
+ if 'alias' in m:
+ cls._machines.append(m['alias'])
finally:
try:
--
2.54.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PULL 0/1] A fix for functional patches
2026-07-12 10:53 [PULL 0/1] A fix for functional patches Thomas Huth
2026-07-12 10:53 ` [PULL 1/1] tests/functional: fix querying available machines Thomas Huth
@ 2026-07-12 13:43 ` Stefan Hajnoczi
2026-07-12 14:15 ` Thomas Huth
2026-07-13 10:32 ` Stefan Hajnoczi
2 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2026-07-12 13:43 UTC (permalink / raw)
To: Thomas Huth; +Cc: Stefan Hajnoczi, qemu-devel
On Sun, Jul 12, 2026 at 12:55 PM Thomas Huth <th.huth@posteo.eu> wrote:
>
> Hi Stefan!
Hi Thomas,
This pull request is from th.huth@posteo.eu and your GPG key on
keys.openpgp.org doesn't cover this email address. Please update your
GPG key or let me know where I can find your new key.
Thanks!
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PULL 0/1] A fix for functional patches
2026-07-12 13:43 ` [PULL 0/1] A fix for functional patches Stefan Hajnoczi
@ 2026-07-12 14:15 ` Thomas Huth
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2026-07-12 14:15 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
Am Sun, 12 Jul 2026 15:43:58 +0200
schrieb Stefan Hajnoczi <stefanha@gmail.com>:
> On Sun, Jul 12, 2026 at 12:55 PM Thomas Huth <th.huth@posteo.eu> wrote:
> >
> > Hi Stefan!
>
> Hi Thomas,
> This pull request is from th.huth@posteo.eu and your GPG key on
> keys.openpgp.org doesn't cover this email address. Please update your
> GPG key or let me know where I can find your new key.
Ah, drat, I pushed the key via "gpg" on the command line to the server, but
that's not enough on keys.openpgp.org, you've got to manually verify new
mail addresses there. Should be fixed now, please try again!
Thanks,
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PULL 0/1] A fix for functional patches
2026-07-12 10:53 [PULL 0/1] A fix for functional patches Thomas Huth
2026-07-12 10:53 ` [PULL 1/1] tests/functional: fix querying available machines Thomas Huth
2026-07-12 13:43 ` [PULL 0/1] A fix for functional patches Stefan Hajnoczi
@ 2026-07-13 10:32 ` Stefan Hajnoczi
2 siblings, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2026-07-13 10:32 UTC (permalink / raw)
To: Thomas Huth; +Cc: Stefan Hajnoczi, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 116 bytes --]
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/11.1 for any user-visible changes.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-07-13 10:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-12 10:53 [PULL 0/1] A fix for functional patches Thomas Huth
2026-07-12 10:53 ` [PULL 1/1] tests/functional: fix querying available machines Thomas Huth
2026-07-12 13:43 ` [PULL 0/1] A fix for functional patches Stefan Hajnoczi
2026-07-12 14:15 ` Thomas Huth
2026-07-13 10:32 ` Stefan Hajnoczi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.