Files
qemu/ui
AlanoSong@163.com 4c1646e23f ui/vnc: Fix qemu abort when query vnc info
When there is no display device on qemu machine,
and user only access qemu by remote vnc.
At the same time user input `info vnc` by QMP,
the qemu will abort.

To avoid the abort above, I add display device check,
when query vnc info in qmp_query_vnc_servers().

Reviewed-by: Marc-AndréLureau <marcandre.lureau@redhat.com>
Signed-off-by: Alano Song <AlanoSong@163.com>
[ Marc-André - removed useless Error *err ]
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20251125131955.7024-1-AlanoSong@163.com>
2025-11-25 18:03:13 +04:00
..
2025-10-30 22:56:51 +04:00
2024-09-10 13:22:47 +02:00
2025-10-05 09:46:06 +03:00
2024-12-20 17:44:56 +01:00
2024-09-13 20:12:16 +02:00
2025-10-30 22:56:51 +04:00