Created
July 14, 2019 17:20
-
-
Save francoism90/173d070a4e0e92ad5e2dc0fc58694580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
qemu-system-x86_64 -display gtk \ | |
-boot c \ | |
-enable-kvm -machine q35,accel=kvm \ | |
-object rng-random,id=rng0,filename=/dev/urandom \ | |
-device virtio-rng-pci,rng=rng0 \ | |
-cpu host \ | |
-smp $(nproc) \ | |
-m 4G \ | |
-drive id=disk,file=/run/media/archie/Data/Images/droid,if=none,format=raw \ | |
-drive file=/home/archie/Downloads/ubuntu-19.04-desktop-amd64.iso,index=3,media=cdrom \ | |
-device intel-iommu \ | |
-device ich9-ahci,id=ahci \ | |
-device ide-drive,drive=disk,bus=ahci.0 \ | |
-netdev user,smb=/home/archie,id=vmnic \ | |
-device virtio-net,netdev=vmnic \ | |
-vga virtio \ | |
-device virtio-serial \ | |
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \ | |
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \ | |
-soundhw hda \ | |
-device virtio-balloon \ | |
-device qemu-xhci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment