# boot setup
-kernel vmlinuz
-initrd initrd.gz
- -append "expert console=ttyAMA0 root=/dev/vda1 roottype=ext4"
+ -append "console=ttyAMA0 root=/dev/vda1 roottype=ext4"
-serial mon:stdio -echr 0x1c
# graphics setup
-nographic
- #-device virtio-gpu-pci
- #-vnc :0
# harddrive setup
-device virtio-blk-pci,drive=hd
-drive if=none,id=hd,file=$IMG,format=raw
-netdev vde,sock=/run/vde.ctl,id=unet
)
-qemu-system-aarch64 "${ARGS[@]}"
+exec qemu-system-aarch64 "${ARGS[@]}"