mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
Add functional tests that exercise dynamic monitor hotplug with real socket connections: - Hotplug cycle: chardev-add a unix socket, object-add, connect to the socket, receive the QMP greeting, negotiate capabilities, send query-version, disconnect, remove the monitor and chardev, then repeat the entire cycle a second time to verify cleanup and reuse. - Self-removal: a dynamically-added monitor sends object-del targeting itself, verifying that the request is rejected - Large response: send query-qmp-schema on a dynamic monitor to exercise the output buffer flush path with a large response payload. - Events after negotiation: trigger STOP/RESUME events via the main monitor and verify they are delivered on the dynamic monitor. This complements the qtest unit tests by verifying that a real QMP client can connect to a dynamically-added monitor and exchange messages. Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org> [DB: modified to use object-add/object-del; adjust self-removal test to validate rejection of request] Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20260706135824.2623960-30-berrange@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
17 lines
227 B
Meson
17 lines
227 B
Meson
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
tests_generic_system = [
|
|
'empty_cpu_model',
|
|
'info_usernet',
|
|
'linters',
|
|
'monitor_hotplug',
|
|
'version',
|
|
'vnc',
|
|
]
|
|
|
|
tests_generic_linuxuser = [
|
|
]
|
|
|
|
tests_generic_bsduser = [
|
|
]
|