Skip to content

Instantly share code, notes, and snippets.

@richinseattle
Forked from Manouchehri/windows10qemu.sh
Created May 20, 2017 01:41
Show Gist options
  • Save richinseattle/e1df56a2970346ae7b7f5cfa1d0c102a to your computer and use it in GitHub Desktop.
Save richinseattle/e1df56a2970346ae7b7f5cfa1d0c102a to your computer and use it in GitHub Desktop.
Running Windows 10 in a UEFI enabled QEMU environment with KVM.
# Installing
qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 2048 -cdrom ~/Downloads/Win10_English_x64.iso -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -drive file=~/Downloads/virtio-win-0.1.105.iso,index=1,media=cdrom
# Running
qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 4096 -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -usbdevice tablet -rtc base=utc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment