Skip to content

Instantly share code, notes, and snippets.

@marcolivierarsenault
Created October 29, 2014 16:46
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 marcolivierarsenault/c2bd0ac8ef2b038db581 to your computer and use it in GitHub Desktop.
Save marcolivierarsenault/c2bd0ac8ef2b038db581 to your computer and use it in GitHub Desktop.
qemu-system-x86_64 \
-enable-kvm -M q35 -m 512 -cpu host -smp 1,sockets=1,cores=1,threads=1 \
-bios /usr/share/qemu/bios.bin \
-vnc :0 -k en-us \
-device piix4-ide,bus=pcie.0,id=piix4-ide1 \
-drive file=/media/data/vm/tequila/tequila.img,id=disk,format=raw -device ide-hd,bus=piix4-ide1.0,drive=disk \
-net nic,vlan=0 \
-net tap,vlan=0,ifname=tun1,script=/etc/qemu-ifup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment