Skip to content

Instantly share code, notes, and snippets.

@FrozenDroid
Created November 3, 2015 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrozenDroid/12e1e20bd1ad067cd230 to your computer and use it in GitHub Desktop.
Save FrozenDroid/12e1e20bd1ad067cd230 to your computer and use it in GitHub Desktop.
qemu-system-x86_64 \
-enable-kvm -M q35 -localtime -name Windows `# General options` \
-monitor /dev/tty -nographic -vga none -serial none `# Graphic options` \
-cpu host,kvm=off -smp 1,sockets=1,cores=1,threads=1 `# CPU Options` \
-m 1024 `# Memory` \
-bios /usr/share/qemu/bios.bin `# BIOS` \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 `# PCIe Bus` \
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on `# Graphics card` \
-device vfio-pci,host=02:00.1,bus=root.1,addr=00.1 `# Graphics card sound` \
-device virtio-scsi-pci,id=scsi `# SCSI controller` \
-drive file=/home/vincent/arch.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \
-device nec-usb-xhci \
-device usb-host,productid=1532,vendorid=011b \
-device usb-hots,productid=e0ff,vendorid=0005 \
-boot menu=on
(process:4780): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported
qemu-system-x86_64: -device nec-usb-xhci: Could not open ' ': No such file or directory
./oldarch: line 13: -device: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment