Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
qemu-system-x86_64 \
-enable-kvm -M q35 -m 8192 -cpu host -smp 4,sockets=1,cores=4,threads=1 \
-bios /usr/share/qemu/bios.bin -vga none \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device piix4-ide,bus=pcie.0,id=piix4-ide \
-device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on,romfile=/media/data/vm/gin/MSI.HD7770.1024.120611.rom \
-device vfio-pci,host=01:00.1,bus=pcie.0 \
-drive file=/media/data/vm/gin/gin.img,id=disk,format=raw -device ide-hd,bus=piix4-ide.0,drive=disk \
-drive file=/media/data/vm/gin/tonic.img,id=disk1,format=raw -device ide-hd,bus=piix4-ide.1,drive=disk1 \
-usb -usbdevice host:093a:2521 -usbdevice host:258a:0001 \
-device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.