Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Setup QEMU Output to Serial Console and Automate Tests with Shell Scripts (2019) (fadeevab.com)
29 points by transpute 9 months ago | hide | past | favorite | 4 comments


This approach works even better with a firecracker-style linux kernel (faster to start), and with cosmopolitan binaries (so you can do qemu tests not just with linux): a bash cosmopolitan binary is useful if you want to test your bash shell scripts in qemu


See Vagrant for a more general solution, although you’ll need a plug-in [1] to use qemu.

[1] https://github.com/ppggff/vagrant-qemu


Agree that documentation on qemu is very messy, especially on macOS. (I ran similar experiments with it earlier this year.)


I have been using ubuntu cloud image with cloud-init to achieve something similar, but will try this method as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: