-
-
Save brendenyule/17159fc35d4d94c38895e8c1035c935f 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 | |
export QEMU_AUDIO_DRV=alsa | |
DISKIMG=~/virtio-win.iso | |
WIN7IMG=~/Downloads/Win10_1511_2_English_x64.iso | |
VIRTIMG=~/win10.img | |
sudo qemu-system-x86_64 --enable-kvm -drive file=${DISKIMG},if=virtio -m 2048 \ | |
-net nic,model=virtio -net user -cdrom ${WIN7IMG} \ | |
-drive file=${VIRTIMG},index=3,media=cdrom \ | |
-rtc base=localtime,clock=host -smp cores=2 \ | |
-usbdevice tablet -soundhw ac97 -cpu host -vga vmware |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment