KVM Guests: Install VirtIO Drivers for Windows Guests
Windows guests on the KVM hypervisors can get a very large kick in the pants when it comes to performance if you install the drivers necessary to leverage the VirtIO bus. So first here are the necessary download links so that you can download the drivers.
Inside of the ISO we will find four directories Balloon, NetKVM, vioserial, and viostor. We are only concerned with viostor and NetKVM, for the storage and networking drivers. Vioserial is a serial interface which essentially lifts the single serial device limitation within KVM, and Balloon is a balloon memory driver I personally do not find this necessary due to the efficacy of the Kernel Samepage Merging (KSM) which is essentially memory deduplication.
Now when you are going to install the guest you need to install it with the IDE interface disks and the e1000 or rtl8139 network card in order to use the devices. Once the install is completed, you can switch the NIC to virtio, attach a secondary disk using the VirtIO interface instead of IDE, and mount the VirtIO driver iso image as your CDROM and then install the device drivers as the new hardware is detected. Also I noticed that when I installed the XP Guest my video controller did not detect a driver under Windows XP Pro x86, however if I switched the Video Model to cirrus it worked fine and detected the device properly. If you are using virt-install to create the VM you can use the –video=cirrus parameter. Once you have your devices installed properly a quick peak at Device Manager inside of the guest should reveal the VirtIO devices.
You can see the devices in question the “Red Hat VirtIO SCSI controller” and the “Red Hat VirtIO Ethernet Adapter.”