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

KVM GPL Windows XP Block driver update

Yesterday an update was made to the kvm windows guest drivers GPL code repository to fix broken compilation of viostor for windows xp. The last commit back in November 2009 provided performance improvements for Windows XP block drivers but ironically broke the windows XP compilation. This is the reason why the last set of block drivers I posted for download did not include any for windows xp, only for 2003 and 2008. Personally, I have never been able to successfully install the GPL block drivers on Windows XP 32-bit guest until now.

Below you will find the block drivers for windows xp in ISO format that you can mount in your KVM windows XP guest virtual machine as a cdrom. To install the block drivers follow instructions outlined in this previous post. It's a bit of a long process but it works. I haven't tested installing these drivers during installation of windows xp guest yet. I'll test this and provide an update in another post.

Please give these drivers a test on your kvm windows xp 32-bit guest. As usual you're welcomed to post comments and questions.

AttachmentSize
viostor-xp-2010-02-06.iso582 KB

See Also

Comments

Thank you, Haydn. I'll try to

Thank you, Haydn.
I'll try to use the driver. Unfortunately, still I can't correctly launch virtio block device even for w2k3 by some reason. It works if I use virt-manager, but doesn't work if I try to launch it directly from shell ((

gatekeeper, See my answer in

gatekeeper,

See my answer in the forums at the following link

http://www.linux-kvm.com/content/can-not-start-use-virtio-blk-driver-even-w2k3#comment-1030

i tried this drivers in

i tried this drivers in Win2003 Server 32bit and all is working good.

Works fine ... but !

Hello,

I am able to create an additional disk (foo.img) that uses the virtio interface and it works really fine (I am able to format and use the newly created image) :

kvm -vga std -drive file=xp.img,if=ide -drive file=foo.img,if=virtio

So I get the virtio drivers installed correctly and working fine, however, when I switch the first image to virtio like the following:

kvm -vga std -drive file=xp.img,if=virtio

then my XP VM won't even start : I get the following error message inside kvm :

<<
Booting from Hard Disk...
Boot failed: could not read the boot disk
>>

I guess there is something related to ide/scsi (and that virtio works through scsi), so any help in getting this work would be appreciated !

Thanks

Re: Works Fine ... but!

Are you using the boot=on argument with your system disk? ie

kvm -vga std -drive file=xp.img,if=virtio,boot=on

 

 

 

Hello, I tried the boot=on

Hello,

I tried the boot=on and now it boots fine and works perfectly with the virtio block driver on my XP VM !! I noticed a huge increase in speed during copy/paste file transfers !!

Thanks Haydn !

This driver works under Windows 2000 also

I was able to install it under Win2K. The disk device shows up 8X but I activated just a single instance of the drive. Works like a charm. With VirtIO and BlockIO, we had a virtualized server run even faster than the same hardware under native Windows!

We will run it nonstop for a few weeks to see if there are any problems with corruption or crashes but at this point, it looks pretty good.

Re: The driver works under Windows 2000 also

MossySF

Thanks for reporting on this since I don't have any windows 2000 guests for testing.

Post new comment

The content of this field is kept private and will not be shown publicly.