If your distribution does not provide binary drivers for Windows, you can use the package from the Fedora Project. These drivers are digitally signed, and will work on 64-bit versions of Windows: Latest VirtIO drivers for Windows from Fedora. Code signing drivers for the Windows 64bit platforms. Drivers should be signed for Windows 64bit platforms.
- Fedora VirtIO Drivers vs. RHEL VirtIO Drivers The RPMs in the virtio-win-stable repository are the same driver builds as what is shipped with Red Hat Enterprise Linux. All the Windows binaries are from builds done on Red Hat’s internal build system, which are generated using publicly available code.
- One response to “ Tip: virt-install Windows with virtio device drivers ”. Windows will boot off the installer ISO using BIOS (SeaBIOS) or UEFI (OVMF) services, which both support virtio-scsi. Then Windows realizes at some point that it has no native drivers to continue reading its own installer CD, and it asks for the driver CD.
We are running a Windows Server 2008 system as a 'guest' on a Linux-KVM virtual server (SLES11, with VirtIO support). We have trouble with the system performance and this is possibly due to not using the VirtIO drivers. I don't have much experience with neither KVM nor VirtIO. Just heard it this could be the reason for our problem.
Questions:
The install examples I just found are describing how to install the drivers during Windows setup. Is it possible to install the VirtIO drivers later? We have running software on that system and would like to avoid reinstalling/setup of all these.
I already found a page describing how to sign the drivers, which seems to be needed. A good tutorial page (step by step instructions) would be nice. Is there anything like that out there?
2 Answers
The process is described in the article Converting a Windows Vista KVM Virtual Machine to Redhat VirtIO Drivers.
You should first download from linux-kvm.com the Windows Guest Drivers in cdrom image (iso).The current version is at this link.
Here is an excerpt from the article (read 'Windows 2008' for 'Vista') :
- Make sure Vista VM is up to date on patches and the disk is error free.
- Mount the .iso file as a CD-ROM device.
Now you might think you can use the ‘Add Hardware Wizard’ here and add the drivers, add the hardware, and be good. I did. I wound up with an unbootable disk. Apparently Vista’s autodetection is required in this process. So…
- Add a new network device of type ‘virtio’. Vista will do its “you’ve got hardware” routine and run you through all of its wizards. When it asks you for drivers, point it at the i386/2008 directory on the driver disc image. Yes, Yes, OK, Yes, Really, Continue, etc.
- Shutdown the VM and remove the old ethernet controller. Boot up Vista and make sure the network works. You can conceivably skip this step for now if you want to make troubleshooting harder.
- Add a new Storage controller. Leave the existing one as-is for now. You’ll have to pick a disk image you’re not using right now, or make a new one. Anything is fine, we’re not going to ever use it inside Vista. Do the driver dance again.
- Shutdown Windows. Remove the storage controllers, and add a new one, type ‘virtio’, with your normal hard drive image. Take care of the old ethernet controller here too, if you ignored my previous advice.
- Boot Windows normally. It should now be coming up on VirtIO disk and network drivers. If you get a bluescreen or a plea to use the RepairCD, something went wrong. Use the repair CD to restore to a previous restore-point and try again.
I can't go into details, as I haven't done it myself... But, here is what a colleague actually did:
Kvm Install Windows 7 Virtio Drivers
You can actually install the drivers under a running system. Before that the devices must be changed in the configuration XML for 'virtio' devices when powered down. You can't install the drivers without the devices already present. This is especially problematic for the hard drive... as windows won't startup, when just configuring it for virtio. The solution is to put a 'dummy' virtio-harddrive into the config (or just the same harddrive twice as virtio and normal harddrive; make sure not to write access both of them!) and then install the driver and then switch the config for the primary hard drive.
He told me there was a 'redhat driver pack for windows' or something like that... this is probably working without signing (is already signed)? I actually didn't ask for details... Just note that there may exist different sources for the drivers.
Hope that helps others...
Regards,Stefan
PS: Comments and questions are welcome...
Not the answer you're looking for? Browse other questions tagged windows-server-2008kvm-switchvirtio or ask your own question.
We are running a Windows Server 2008 system as a 'guest' on a Linux-KVM virtual server (SLES11, with VirtIO support). We have trouble with the system performance and this is possibly due to not using the VirtIO drivers. I don't have much experience with neither KVM nor VirtIO. Just heard it this could be the reason for our problem.
Questions:
The install examples I just found are describing how to install the drivers during Windows setup. Is it possible to install the VirtIO drivers later? We have running software on that system and would like to avoid reinstalling/setup of all these.
I already found a page describing how to sign the drivers, which seems to be needed. A good tutorial page (step by step instructions) would be nice. Is there anything like that out there?
Virtio Windows Guest
2 Answers
Install Virtio Drivers Windows 2016
The process is described in the article Converting a Windows Vista KVM Virtual Machine to Redhat VirtIO Drivers.
You should first download from linux-kvm.com the Windows Guest Drivers in cdrom image (iso).The current version is at this link.
Here is an excerpt from the article (read 'Windows 2008' for 'Vista') :
- Make sure Vista VM is up to date on patches and the disk is error free.
- Mount the .iso file as a CD-ROM device.
Now you might think you can use the ‘Add Hardware Wizard’ here and add the drivers, add the hardware, and be good. I did. I wound up with an unbootable disk. Apparently Vista’s autodetection is required in this process. So…
- Add a new network device of type ‘virtio’. Vista will do its “you’ve got hardware” routine and run you through all of its wizards. When it asks you for drivers, point it at the i386/2008 directory on the driver disc image. Yes, Yes, OK, Yes, Really, Continue, etc.
- Shutdown the VM and remove the old ethernet controller. Boot up Vista and make sure the network works. You can conceivably skip this step for now if you want to make troubleshooting harder.
- Add a new Storage controller. Leave the existing one as-is for now. You’ll have to pick a disk image you’re not using right now, or make a new one. Anything is fine, we’re not going to ever use it inside Vista. Do the driver dance again.
- Shutdown Windows. Remove the storage controllers, and add a new one, type ‘virtio’, with your normal hard drive image. Take care of the old ethernet controller here too, if you ignored my previous advice.
- Boot Windows normally. It should now be coming up on VirtIO disk and network drivers. If you get a bluescreen or a plea to use the RepairCD, something went wrong. Use the repair CD to restore to a previous restore-point and try again.
Install Virtio Drivers Windows Server 2008
harrymcharrymcI can't go into details, as I haven't done it myself... But, here is what a colleague actually did:
You can actually install the drivers under a running system. Before that the devices must be changed in the configuration XML for 'virtio' devices when powered down. You can't install the drivers without the devices already present. This is especially problematic for the hard drive... as windows won't startup, when just configuring it for virtio. The solution is to put a 'dummy' virtio-harddrive into the config (or just the same harddrive twice as virtio and normal harddrive; make sure not to write access both of them!) and then install the driver and then switch the config for the primary hard drive.
He told me there was a 'redhat driver pack for windows' or something like that... this is probably working without signing (is already signed)? I actually didn't ask for details... Just note that there may exist different sources for the drivers.
Hope that helps others...
Install Virtio Drivers Windows 7
Regards,Stefan
PS: Comments and questions are welcome...