On Fri, 8 Nov 2024 at 11:49, Brendan Jackman <jackmanb@xxxxxxxxxx> wrote: > Does anyone know what the 'stty sane' invocation in kunit.py is about? > At > the time I believed that it was there to clean up after the firmware > that QEMU runs potentially messed up the terminal. Came back to this thread to look this info up and turns out it's not entirely relevant, but I'll dump this info here anyway because I bet I'll forget and come back here looking for it again, maybe it's also just interesting to someone here. The firmware I am thinking of here is SeaBIOS. The best fix for this is to set `-bios qboot.rom` to just not run SeaBIOS. This also shaves off some boot time (README[0] says 150ms). [0] https://github.com/bonzini/qboot (But, as discussed down-thread, the 'stty sane' is probably not related to SeaBIOS).