How to install VirtIO NIC and Disk driver in Windows KVM VPS?
- 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 kvmID /var/lib/libvirt/images/dummy hdb --cache none --targetbus virtio
Install virtio dirver inside the VPSInstruction
- Access the VPS via VNC
- Open Command Prompt and execute the following command to 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
Please sign in to leave a comment.