Running Win10 in QEMU/KVM

On 2016/01/21 at 16:02

I installed a win10 virtual machine using the Virt-Manager. However, when I switched to command line to launch the virtual machine. I found the win10 always showing me the following error message.

> $ qemu-system-x86_64 --enable-kvm \ 
-drive file=./win10.img,if=virtio \
-smp 4 -m 4096 -vga qxl \
-net nic,model=virtio -net user \
-soundhw hda

win10_error

After some trial and error, I found if I pass -cpu host option (default is qemu64), the win10 virtual machine can finally be successfully booted up! I think win10 may only allow whitelisted cpu model to run to prevent old cpu without advance features from running.

> $ qemu-system-x86_64 --enable-kvm \
-drive file=./win10.img,if=virtio \
-smp 4 -cpu host -m 4096 -vga qxl \
-net nic,model=virtio -net user \
-soundhw hda

win10

ps: The performance of win10 with virtio driver is really amazing! I am very exciting to see virtio_gpu driver appearing on Windows platform.

win10_performance

Comments