From dc869fe6a9a726d413e8a83c56cf40f271c6fe3c Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Sat, 20 Jan 2024 08:48:06 +0800 Subject: [PATCH] Disable Console Resize event because it crashes VM Guest at startup --- virtio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtio.c b/virtio.c index e8f5fe3..297f6a7 100644 --- a/virtio.c +++ b/virtio.c @@ -1349,7 +1349,8 @@ void virtio_console_resize_event(VIRTIODevice *s, int width, int height) put_le16(s->config_space + 0, width); put_le16(s->config_space + 2, height); - virtio_config_change_notify(s); + //// Disable Console Resize event because it crashes VM Guest at startup + //// Previously: virtio_config_change_notify(s); } VIRTIODevice *virtio_console_init(VIRTIOBusDef *bus, CharacterDevice *cs)