Although Redhat recently released it’s windows virtio drivers under the open source license, you would have noticed that no files are posted yet at the download link provided. I’ve received a lot of qeustions from readers about when this will be available but unfortunately I myself don’t know and not privy to this information. However, I was browsing around in my redhat account last week and noticed the package sitting there! I thought I’d write up a preview on what you might see when it’s finally available. In this post I’ll start with a preview of the network drivers on a windows xp guest. In the next post to follow, I’ll do a preview on the block drivers.
The contents of the package (named virtio-win-1.0.0-2-31383.el5.noarch.rpm ) includes a cdrom iso image and what looks like a virtual floppy disk image. On installing the package these files are placed on your host so that they can be later mounted in your kvm windows guest for installation. Below shows the contents of the iso image file on mounting it.

The contents shows two drivers, one for block ( disks ) and one for network, each one in two flavors of 32 and 64 bit.
The drivers provided comes with an easy to use windows installer and can be installed in an already running windows guest. Based on your host system, you simply need to double click the appropriate RHEV-Network file to kick off the installation. In my case I needed to use the RHEV-Network64 driver. You’ll then be greeted by the following installation wizard.

Click Next to Continue.

You’ll then be presented with tcp network performance options. Leave the default for best performance.

At this point you can begin the installation by clicking Install.

You’ll be prompted with the warning about the software not being compatible with windows XP. Go ahead an select “Continue Anyway”.

At this point installation of your network drivers is complete.
If your guest wasn’t already running using virtio network option, you need to restart your guest using the network virtio options using the following syntax.
qemu-system-x86-64 -had windows.img -net nic,model=virtio
If you’re using virt-manager, then remove and recreate your network card as a virtio type. Once your machine has started you’ll be prompted with the hardware wizard.

Select “No, not at this time” and click Next.

Select “Install from a specific location” and click Next.

Specify a driver to install as shown above and click Next.

You’ll now have the option to install the driver installed in the previous section. You can ignore the warning about the driver not being digitally signed and click next.

The driver will begin installation.

Click “Continue Anyway” at the prompt.

Installation completed.

When you inspect your network connections from your windows guest you should now see it listed as Redhat’s virtio ethernet adapter. I’ll be doing a follow up post with the block drivers soon.
| Attachment | Size |
|---|---|
| virtio-setup-200908.iso | 870 KB |
Comments
Could you post the download
Monday, August 31, 2009 - 23:10 Anonymous (not verified)Could you post the download link?I want to preview the virtio block driver.
Where is it?
Tuesday, September 1, 2009 - 09:56 Dave Waters (not verified)I have a Red Hat subscription myself, but could not locate the RPM. Can you point me to it?
Thanks
Re: where is it?
Tuesday, September 1, 2009 - 10:03 Haydn SolomonDave,
I was going to mention this in the post but wasn't sure if it was just me. I just happened to download the rpm last week. Now I too can't find it in my subscription. I think they might have pulled it for whatever reason..not sure what happened but at least now I know that it's not just me.
I would post the rpm but I'm not sure it's legal to do that.
Seems like it's almost there :)
Wednesday, September 2, 2009 - 14:19 Kenni LundRHEL 5.4 has just been released, so I did a bit of Google searching and I found this:
https://bugzilla.redhat.com/show_bug.cgi?id=489376
(Status: RELEASE_PENDING)
Since RHEL 5.4 is out now, I suppose this package will get released very soon also...
Btw, Haydn, when you write part 2 on the virtio block driver, could you perhaps make a quick performance test of the driver, compared to the default block driver? I remember that I recently read somewhere on the fedora-virt or KVM mailing list that the performance of the (unfinished) block driver was very bad, somewhere around 50% of the IDE driver if I remember correctly. Hopefully this has been improved dramatically with the final release :)
EDIT:
I just found a 3rd party download link (I'm not responsible for whatever it might do to your computer! ;))
https://www.proxmox.com/forum/showthread.php?p=10567
Re: almost there..
Wednesday, September 2, 2009 - 16:56 Haydn SolomonKenni,
Thanks for the info. I will definitely do a performance test and write it up. If you contact me offline ( Dave Waters can contact me too ), I will send you a copy directly. Was tied up today until now and just realized that 5.4 is out...finally. After yesterday I had no idea how long the delay would be since everyone was expecting it to be released yesterday.
Can you share me a copy?
Monday, September 7, 2009 - 02:56 Winston (not verified)Hi Haydn,
I'm looking for virtio block device driver for Windows since RH announced it. Can you send me a copy? Thanks in advance!
Re: share copy
Monday, September 7, 2009 - 09:02 Haydn SolomonIf you send me your email, I'll send you a copy. I've also attached a copy of the file at the link posted by Kenni in comments above.
Look at the end of this post and you will see the file for download.
Successful w/ Vista
Tuesday, September 15, 2009 - 13:15 Bill McGonigle (not verified)Using the version attached here, I was able to get Vista running on virtio net and disk.
Summary here:
http://blog.bfccomputing.com/articles/2009/09/14/converting-a-windows-vi...
Thanks.
Mid-Successful w/ WinXP
Friday, September 18, 2009 - 04:04 waby38 (not verified)I'm able to use virtio net under WinXP,
but for virtio block, driver don't want to run correctly.
At the end of nstallation, WinXP just say that they can't load the driver (so it doesn't work)...
Anybody else ?
ps: I'm using "2003" driver, is it really compatible with WinXP ?
Re: mid-successful with winxp
Friday, September 18, 2009 - 12:11 Haydn SolomonSee recent post on block drivers.
http://www.linux-kvm.com/content/redhat-54-windows-virtio-drivers-part-2...
I had no luck either using 2003 drivers with xp.
I'm going to translate this
Thursday, December 10, 2009 - 14:55 sen de tiklat (not verified)I'm going to translate this content to Turkish and put it to here: Operating Systems. Is there a problem?
Re: I'm going to translate this
Thursday, December 10, 2009 - 18:20 Haydn SolomonNo problem as long as you include a link back to original post.
Post new comment