Спаисьо за дельный совет.
Наяндексил http://blog.famzah.net/2010/01/09/kvm-qemu-virtio-storage-and-network-drivers…, скачал «Both Virtio network and storage drivers for Windows». Возникли следующие вопросы:
1) На диске присутствуют E:\network\Install\XP_Win2003\{amd64,x86}. Какой из них использовать, если host-система — amd64, при запуске qemu тип процессора не указывался, а Винда в свойствах системы говорит, что Pentium II?
2) Попробовал оба варианта, но XP ни в то, ни в другом случае не считает, что это драйвер сетевой платы. Что делать?
3) Что за «storage»-драйвер, и зачем он нужен? На диске для XP есть только E:\storage\Install\Xp\x86.
- Ссылка
11 Comments
…bundled as ISO images, so that you can easily mount and use them in a KVM guest.
UPDATE: It seems that Fedora started to provide the latest drivers bundled as an ISO. Check the official Windows VirtIO Drivers page for links.
Download locations follow:
- Both Virtio network and storage drivers for Windows (4.0M)
- Virtio network drivers for Windows (2.8M)
- Virtio storage drivers for Windows (1.6M)
These are static ISO images, and I’ve built them by downloading the ZIP sources dated 24.09.2009 from the official WindowsGuestDrivers KVM page and then converting them to ISO image files by using K3b.
Note that Virtio provides noticeably faster disk and network access.
Please review the official page of Virtio for sample KVM command line arguments which set up Virtio storage and network devices. You may notice that there is an (undocumented) parameter “boot=on” specified for the “-drive” option. This “boot=on” parameter is vital for the “-drive” option, or else Windows 7 won’t like your drive and won’t install on it.
Note about Virtio storage drives and the Windows 7 installer
I was able to install Windows 7 right from the start by using a Virtio storage drive within the KVM guest. At first the Windows installer didn’t see the Virtio disk at all but there is an option to install additional storage drivers. I installed the Virtio Windows drivers from the above ISO images, the Windows installer detected the Virtio storage disk properly and everything went quite smooth afterwards.
Resources:
- Preview of Redhat 5.4 Windows Virtio Drivers Part 1
- Official WindowsGuestDrivers KVM page. The drivers are provided by the RedHat folks.
- Comprehensive information about KVM and the DOS/Windows family. In German, but you may try Google translate to read it if you don’t read German well.
Author: Ivan Zahariev
An experienced Linux & IT enthusiast, Engineer by heart, Systems architect & developer.
00:00:35 Finding the virtio drivers for XP.
00:02:25 Starting the XP install.
00:04:10 Finishing off the XP install.
00:06:20 Time to find a key for the temporary install.
00:10:05 Time to restart to see if the key is ok.
00:12:50 Time to install the network driver.
00:16:20 Time to create a temporary drive to copy the driver onto.
00:23:40 Time to install the copied over network driver.
00:25:15 Time to get the unofficial XP Service Pack 4.
00:27:40 Now it is time to install the unofficial XP Service Pack 4.
00:33:20 Finally it is time to see if it runs with multiple cpu cores.
In this video I am installing Windows XP into a Qemu virtual machine and some people more might think that this is a waste of time, because XP has long been out of support, but I ended up having to do this, because I had a client who wanted to upgrade an old accounting program to a new version, but the old version would only run on XP, and they only had the database for that version, so I had to run that old version in an XP vm. XP will only run for 30 days when installed like this, but that was more than enough for me to get the job done. I also decided to install the unofficial service pack 4, which would help the XP to survive a little bit longer, against the newer exploits that have been released.
They have removed the floppy image in the latest virtio drivers, so below is a link to the version that I did use:
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.185-2/
qemu-system-x86_64 -m 2048 -enable-kvm -cpu host -net nic,macaddr=72:34:fa:4b:92:a2 -net bridge,br=br0 -readconfig /etc/ich9-ehci-uhci.config -device usb-tablet,bus=ehci.0,port=2 -drive file=WinXP.qcow2,if=virtio,cache=unsafe -vga cirrus -drive file=/big/qemu/en_windows_xp_home_with_service_pack_3_x86_cd_x14-92413.iso,index=2,media=cdrom -drive file=/big/qemu/virtio-win-0.1.185_x86.vfd,index=0,if=floppy,format=raw -boot menu=on -soundhw ac97
Get a floppy with drivers:
$ wget http://www.linux-kvm.com/sites/default/files/viostor-31-03-2010-floppy.img
I will describe two alternative methods for setting virtio in WinXP.
Setup during WinXP installation
Instruction is based on http://www.linux-kvm.com/content/block-driver-updates-install-drivers-during-windows-installation.
Create an image.
$ qemu-img create -f qcow2 winxp.qcow2
Run installation (assuming that your Win Install ISO is winxp.iso)
$ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2,if=virtio -fda viostor-31-03-2010-floppy.img -m 1200
Note. According to the original article, drive should be given with “boot=on” like this:
$ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2,if=virtio,boot=on -fda viostor-31-03-2010-floppy.img -m 1200
When I used this option, I had an error “Raw or indistinguishable disks” and installation failed. However, without “boot=on” I could install WinXP on qemu-kvm-0.15.0.
Shortly after the windows install CD boots is the option to install any additional storage drivers. This is the critical thing to remember when installing storage drivers during windows installation because it’s easy to miss this. If you miss that opportunity you’ll have to restart the installation. Below is a screenshot showing the screen to hit F6 in order to install storage drivers.
Before installation begins, you’ll be prompted to specify your storage drivers as shown below.
Type “S” to specify your viostor block driver. You’ll then be prompted to specify your driver from the driver list. The floppy image contains drivers for Windows XP and 2003. Select Windows XP driver.
Installation goes as usual after this. You will get a prompt during installation asking you to confirm the installation of the unsigned driver.
Accept and finish install as usual.
Setup after WinXP installation
Instruction is based on http://www.linux-kvm.com/content/redhat-54-windows-virtio-drivers-part-2-block-drivers.
Create an image and install WinXP.
$ qemu-img create -f qcow2 winxp.qcow2 $ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2 -m 1200
Shut down WinXP and run it again with attached virtio drive and floppy.
$ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2 -drive file=winxp.qcow2,if=virtio -fda viostor-31-03-2010-floppy.img -m 1200
When you boot your guest with the virtio block disk attached windows will prompt you on startup for a driver to install.
Select “No, not this time” when the wizard asks you to search for the driver software.
Select “install from a list of specific location” .
Select the Browse button and navigate to the driver CD.
Select the appropriate folder for your guest architecture (WinXP 32 bit).
Click Next to begin the install.
You will get a prompt warning about the driver not being signed. Go ahead and select “Continue Anyway”.
Your driver has now successfully been installed.
When you inspect your drivers you’ll now see the redhat virtio scsi controller listed.
Shut down and start Windows this way:
$ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2,if=virtio -fda viostor-31-03-2010-floppy.img -m 1200
- Forum
- The Ubuntu Forum Community
- Ubuntu Specialised Support
- Virtualisation
- looking for kvm qemu drivers for a winxp x64 guest
-
looking for kvm qemu drivers for a winxp x64 guest
installed qemu and kvm.
starting out migrating my old winxp x64 box.
seems like the newr drivers dont support pre-win7.
i downloaded a a virtio cdrom image and got into my vm.
installed several *.inf files in xp folders.
fixed my inverted mouse but theres no «friendly agent» to help me set up.
i have xp asking for several drivers and would like to get a good video driver for my widescreen.Last edited by busternoob; April 6th, 2021 at 04:48 PM.
-
Re: looking for kvm qemu drivers for a winxp x64 guest
XP x64 didn’t have very good driver support, so it’s unlikely you’ll find a driver that works.
You could have a read here, but it’s probably only related to XP x86.
https://pve.proxmox.com/wiki/Windows_XP_Guest_NotesWith all that said.. XP has been end of life for years and if you really need to use it, you should restrict it from network/internet access.
-
Re: looking for kvm qemu drivers for a winxp x64 guest
FYI a lot of Win 7 drivers will in fact work with XP, but you have to test them yourself, of course Win 7 is also EOL and those drivers are disappearing.
This is not an endorsement of using XP or win 7.
BTW you can still migrate a legit win 7 install to Win 10 and run most everything from win XP.
In many cases you can use a Windows 7 or 8 key to activate Windows 10
Not really sure what anyone still needs XP.
-
Re: looking for kvm qemu drivers for a winxp x64 guest
sorry actually the guest agent is loaded in task manager.
its a couple other drivers i still need i guess.
i dont really know what i’m doing just learn as i go.
i guess the guest agant allows alot of external terminal commands affecting the guest using the «virsh» or something.
oddly i keep getting performance increases by stumbling around.
twice i adandoned the machine to build a new one around the cow file and both times i got faster better runninng vm.
todays boost was created when i needed to swap out the 2nd drive i parked the vhds on and it buggered all the paths.i do still need to know what to do about video. running 1024×768 on standard VGA, would prefer 1360×768.
i have two cheepo radeon gpu, one is onboard the other is a pcie X600.
i assume i can create a 2nd physical machine using the vm with the 2nd gpu and serve mouse and kb somehow?Last edited by busternoob; April 10th, 2021 at 02:56 AM.
-
Re: looking for kvm qemu drivers for a winxp x64 guest
and good news i found something call RedHat QXL driver that loaded up in xp64.
i was able to select 1360×768 adn shes running real good now.
nearly realistic performance as when xp was running on hardware.
i dont remember the package it came in but will post here when i relocate that.
and yes the whole reason for the vm migration is to take xp offline, this
way i can come back regularly to look for things or info i need to export from it.the driver from device manager property sheet:
Redhat QXL GPU
9/22/2015
version 6.1.0.10024Last edited by busternoob; April 10th, 2021 at 02:27 PM.
-
Re: looking for kvm qemu drivers for a winxp x64 guest
Glad you got your issue resolved. Please be sure to mark the thread as Solved from the Thread Tools menu.
-
Re: looking for kvm qemu drivers for a winxp x64 guest
well sorry its not actually resolved.
the RdHat QXL driver and the the guest agent are all that loaded.
still looking for drivers that work for xp64 : cdrom audio pci
-
Re: looking for kvm qemu drivers for a winxp x64 guest
did you find drivers from linux-kvm. org
-
Re: looking for kvm qemu drivers for a winxp x64 guest
sorry for the delay, yes i tried several of the virtio versions from there.
that site links to fedora site then to github.
none of them has an x64 folder under xp only x86.
i tried tinkering with the win7 and win2k3 x64 versions to no luck yet.
Bookmarks
Bookmarks
Posting Permissions