How to make Windows KVM guest to work with VirtIO Driver?
- Connect to the slave KVM node via SSH
- Enable virtio-win repository:
# wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo -O /etc/yum.repos.d/virtio-win.repo
- Install the virtio-win package:
# yum install virtio-win
- Attach the ISO image with VirtIO drivers to the Windows KVM VPS in question:
# virsh attach-disk kvmID /usr/share/virtio-win/virtio-win-0.1.171.iso hdc --type cdrom --mode readonly
kvmID should be replaced with actual ID of the VPS
- Create a dummy disk image in raw format:
# cd /var/lib/libvirt/images/
# qemu-img create -f raw dummy 100M
- Attach the created image to VPS:
# virsh attach-disk kvm215 /var/lib/libvirt/images/dummy hdb --cache none --targetbus virtio
- Connect to the VPS via VNC
- Open Device Manager
- Expand Other devices, right clicked on unidentified device and selected Update Driver Software to access the driver update wizard.
- Click Browse my computer for driver software
- Click Browse, select CD-ROM drive and click Next
- Repeat steps 8-10 for all the unidentified devices
- Reboot the server
Note: That Windows 2008/2012 templates provided by SolusVM (http://templates.solusvm.com/kvm/) already have VirtIO Network Driver installed but without virtio disk drivers.