Skip to content

Commit dc869fe

Browse files
committed
Disable Console Resize event because it crashes VM Guest at startup
1 parent 2ffb374 commit dc869fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

virtio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,8 @@ void virtio_console_resize_event(VIRTIODevice *s, int width, int height)
13491349
put_le16(s->config_space + 0, width);
13501350
put_le16(s->config_space + 2, height);
13511351

1352-
virtio_config_change_notify(s);
1352+
//// Disable Console Resize event because it crashes VM Guest at startup
1353+
//// Previously: virtio_config_change_notify(s);
13531354
}
13541355

13551356
VIRTIODevice *virtio_console_init(VIRTIOBusDef *bus, CharacterDevice *cs)

0 commit comments

Comments
 (0)