tianon / docker-qemu

Dockerization of supported QEMU releases
https://qemu.org
136 stars 34 forks source link

Improved for non-native #28

Closed gnh1201 closed 2 years ago

gnh1201 commented 2 years ago

Improved for non-native

tianon commented 2 years ago

Hi, thanks for the contribution!

These esoteric flags are why the start-qemu wrapper takes arbitrary arguments that it passes on as-is, and IMO that's a better way to handle these flags (and is how I handle them in my uses), especially since most folks don't need them.

For example, I have one script that runs this image with the command set to start-qemu --machine virt -kernel ./vmlinuz -initrd ./initrd.img -append "root=/dev/sda2" -device virtio-rng-pci (with QEMU_ARCH=arm).

gnh1201 commented 2 years ago

Thank you for the good advice! I will close this issue.