9 lines
254 B
Bash
9 lines
254 B
Bash
#!/bin/bash
|
|
qemu-system-x86_64 \
|
|
--bios /usr/share/edk2/x64/OVMF.fd \
|
|
-vga virtio \
|
|
-serial stdio \
|
|
-drive if=none,id=stick,format=raw,file=staging/x86_64_iso/fat.img \
|
|
-device nec-usb-xhci,id=xhci \
|
|
-device usb-storage,bus=xhci.0,drive=stick "$@"
|