KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

Preview of Redhat 5.4 Windows Virtio Drivers Part 1

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.

 

 

Accessing the 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.

 

Installing the network drivers

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.

 

Restart your guest using virtio option

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.

AttachmentSize
virtio-setup-200908.iso870 KB

See Also

Comments

Could you post the download

Could you post the download link?I want to preview the virtio block driver.

Where is it?

I have a Red Hat subscription myself, but could not locate the RPM. Can you point me to it?

Thanks

Re: where is it?

Dave,

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 :)

RHEL 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..

Kenni,

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?

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

If 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

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

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

See 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

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

 No problem as long as you include a link back to original post. 

Thanks for this wonderful

Thanks for this wonderful info. Waiting for this Redhat 5.4 release from long. Finally it’s out. Please post the download link. You have explained all the details in a clear and useful way. I am using Windows Vista with some data recovery software from http://www.neverfailgroup.com . I think it will not stop me from downloading it. The picture is almost clear now. Just saying thanks will not just be adequate, for the phenomenal clarity in your explanation. Looking forward for the details of such releases.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.