diff options
author | Marc-André Lureau | 2022-06-09 17:26:47 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2022-07-19 14:35:00 +0200 |
commit | c8ddcdd6886b34d5d55d8d59973280e4c1b49195 (patch) | |
tree | 88783665453f5bf329603fef5f534d3b42ce57b5 /python/qemu/utils/qom_fuse.py | |
parent | Merge tag 'pull-target-arm-20220718' of https://git.linaro.org/people/pmaydel... (diff) | |
download | qemu-c8ddcdd6886b34d5d55d8d59973280e4c1b49195.tar.gz qemu-c8ddcdd6886b34d5d55d8d59973280e4c1b49195.tar.xz qemu-c8ddcdd6886b34d5d55d8d59973280e4c1b49195.zip |
dbus-display: fix test race when initializing p2p connection
The D-Bus connection starts processing messages before QEMU has the time
to set the object manager server. This is causing dbus-display-test to
fail randomly with:
ERROR:../tests/qtest/dbus-display-test.c:68:test_dbus_display_vm:
assertion failed
(qemu_dbus_display1_vm_get_name(QEMU_DBUS_DISPLAY1_VM(vm)) ==
"dbus-test"): (NULL == "dbus-test") ERROR
Use the delayed message processing flag and method to avoid that
situation.
(the bus connection doesn't need a fix, as the initialization is done
synchronously)
Reported-by: Robinson, Cole <crobinso@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Cole Robinson <crobinso@redhat.com>
Message-Id: <20220609152647.870373-1-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python/qemu/utils/qom_fuse.py')
0 files changed, 0 insertions, 0 deletions