Marc-André Lureau
dc5d5800f8
ui/console: remove console from global list on finalization
...
This commit removes the QemuConsole from the global "consoles" list when
it is finalized, fixing use-after-free on throw-away objects.
Reproducer: QMP command qom-list-properties with typename
"qemu-text-console", "qemu-fixed-text-console" or
"qemu-graphic-console".
The assertions added ensure that `dcls`, `gl_block`, and the
`dump_queue` are empty before removal, confirming the console is in a
clean state. This is left to handle correctly in a future series for
hot-unplug case.
Reported-by: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
2026-05-11 23:59:33 +04:00
..
2025-09-30 11:21:55 +04:00
2023-10-17 15:20:53 +02:00
2026-04-22 12:46:04 +04:00
2026-05-09 18:54:15 +04:00
2026-03-17 21:15:10 +04:00
2026-05-09 10:24:48 +04:00
2026-05-09 10:24:48 +04:00
2026-05-09 18:54:15 +04:00
2026-05-11 23:59:33 +04:00
2026-05-09 10:24:37 +04:00
2026-05-09 10:24:37 +04:00
2023-07-25 10:56:51 +01:00
2026-05-09 18:54:15 +04:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2024-10-03 17:26:06 +03:00
2026-05-09 10:24:35 +04:00
2026-05-06 16:10:46 +02:00
2026-05-09 18:54:15 +04:00
2026-05-09 10:24:35 +04:00
2021-12-21 10:50:22 +04:00
2026-05-09 18:54:15 +04:00
2021-12-21 10:50:22 +04:00
2026-05-09 10:24:35 +04:00
2026-05-09 10:24:35 +04:00
2026-04-28 18:39:36 +04:00
2025-05-06 11:57:03 +04:00
2026-03-06 17:27:40 +00:00
2026-05-09 18:54:15 +04:00
2025-07-14 14:51:45 +04:00
2026-05-09 10:20:52 +04:00
2026-05-09 18:54:15 +04:00
2026-05-09 18:54:15 +04:00
2026-05-09 18:54:15 +04:00
2026-05-06 16:10:46 +02:00
2019-09-17 13:43:22 +02:00
2020-08-21 06:18:30 -04:00
2024-11-08 11:06:42 +01:00
2026-04-22 12:36:59 +04:00
2026-05-09 10:20:36 +04:00
2024-03-20 10:27:54 +04:00
2026-04-28 18:39:36 +04:00
2026-04-28 18:39:36 +04:00
2026-05-09 18:54:15 +04:00
2025-10-21 09:54:48 +02:00
2012-12-19 08:31:30 +01:00
2019-01-21 09:43:13 +01:00
2026-05-09 18:54:15 +04:00
2026-05-09 18:54:15 +04:00
2024-09-13 20:12:16 +02:00
2026-05-09 18:54:15 +04:00
2026-03-17 21:15:10 +04:00
2026-04-22 12:37:44 +04:00
2026-03-05 17:40:24 +00:00
2026-05-09 18:54:15 +04:00
2023-10-03 15:04:56 +04:00
2026-03-05 17:40:24 +00:00
2026-05-09 18:54:15 +04:00
2020-08-21 06:18:24 -04:00
2023-02-14 09:11:27 +01:00
2026-05-06 12:58:07 +02:00
2026-03-05 17:40:24 +00:00
2023-01-08 01:54:22 -05:00
2026-04-24 21:27:21 +02:00
2026-04-22 12:51:23 +04:00
2026-04-28 18:39:36 +04:00
2022-11-08 10:23:06 +01:00
2026-05-09 18:54:15 +04:00
2021-06-15 17:17:09 +02:00
2026-05-06 16:10:46 +02:00
2016-07-12 16:20:46 +02:00
2023-12-04 11:28:26 +04:00
2023-09-04 14:57:44 +04:00
2022-10-22 23:15:40 +02:00
2026-05-09 18:54:15 +04:00
2016-07-12 16:19:16 +02:00
2026-05-09 18:54:15 +04:00
2025-07-14 14:51:12 +04:00
2025-07-14 14:51:12 +04:00
2016-07-12 16:19:16 +02:00
2022-11-08 10:23:06 +01:00
2023-08-31 19:47:43 +02:00
2026-05-09 10:24:50 +04:00
2026-05-09 10:24:50 +04:00
2023-09-29 08:13:57 +02:00
2018-02-09 13:52:15 +01:00
2026-03-05 17:40:24 +00:00
2026-05-09 10:24:58 +04:00
2026-05-09 18:54:15 +04:00
2016-07-12 16:20:46 +02:00
2026-05-09 18:54:15 +04:00
2026-05-09 18:54:15 +04:00
2026-05-09 10:24:48 +04:00
2026-05-09 10:24:48 +04:00
2024-12-20 17:44:56 +01:00
2021-05-02 17:24:50 +02:00
2018-01-25 15:02:00 +01:00