2 ms·
Just FYI, there's a way to get to the QEMU console with a certain keyboard shortcut. There could be potential for mischief (if you are logging the sessions look
by Nextgrid 7y ago
Just FYI, there's a way to get to the QEMU console with a certain keyboard shortcut. There could be potential for mischief (if you are logging the sessions look at the one that ended just now with "too much data written to the terminal", that was me trying to attach the host's /etc/passwd as a raw disk image to the VM).
- Sir_Cmpwn 7y agoHeh, I was just trying to do the same: https://sr.ht/O2oy.png https://sr.ht/O2oy.png Ben: you can fix this by adding -monitor none to your qemu command line.
- Nextgrid 7y agoEven with that disabled I still wouldn't trust it (QEMU devs didn't originally plan for its stdin to be attacker-controlled, so there could be subtle bugs even with monitor disabled - remember the GRUB bug where you could bypass the password with specific keystrokes). I would've personally made it to simulate a serial port to the guest and the browser-based console being connected to that.
- Sir_Cmpwn 7y agoYeah, that would be wise.