Install Windows Virtio Drivers

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. 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. 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. Installing Virtio Drivers In Windows On KVM 3rd July 2018. Virtio drivers are paravirtualized device drivers for KVM virtual machines. Paravirtualized drivers enhance the performance of machines, decreasing I/O latency and increasing throughput to near bare-metal levels.

Active6 years, 11 months ago

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:

Important: We’re disabling this option to prevent your web traffic to go through the remote connection, which can dramatically slow down your internet connection. However, if you’re looking to access the internet through a VPN connection, then don’t change this last setting.Click the OK button.Click the OK button again.Click the OK button once more.Open Settings.Click on Network & Internet.Click on VPN.Select the VPN connection option and click the Connect button.Windows 10 remote connection using VPNWhile there are many solutions to allow users to connect remotely to a private network using a VPN connection, you can set up your own server with the tools built within Windows 10 without the need of extra software. Openvpn access server windows.

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

  • 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?

SDwarfs
SDwarfsSDwarfs

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…

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
harrymcharrymc
288k16 gold badges308 silver badges625 bronze badges
Install

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

Regards,Stefan

PS: Comments and questions are welcome..

SDwarfsSDwarfs

Virtio Windows Iso

Not the answer you're looking for? Browse other questions tagged windows-server-2008kvm-switchvirtio or ask your own question.