Skip to content

Commit

Permalink
Disable Console Resize event because it crashes VM Guest at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jan 20, 2024
1 parent 2ffb374 commit dc869fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dc869fe

Please sign in to comment.