3

I have Ubuntu 20.04 server as my host machine and QEMU-KVM v6.0.0 as hypervisor. I created simple virtual machine configuration using SATA storage and successfully installed Windows 7 SP1 64 bit. After this all manuals suggest to add temporary virtio disk, get Windows 7 to install necessary drivers and then switch to new disk type.

I downloaded a set of latest stable drivers from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/, attached a downloaded image file to virtual machine and attempted to install drivers.

Nothing worked at all. Windows 7 successfully identifies driver files as being signed by Red Hat Inc., however it refuses to load drivers because it is unable to verify digital signature until any trusted root certificates.

I might be able to sacrifice some disk IO performance, I might not need to run virtual machine at absolute maximum IO speeds, but exactly the same situation is observed with 3 other devices, exported from hypervisor: graphics, ACPI, memory manager and something else...

I might be missing something, since even this post on this site suggest to install drivers for Windows 10 from the same location and Windows 7 and Windows 10 are no different in regard with driver signatures.

How to properly configure Virt-Manager (QEMU/KVM) with Windows guest

Please, help.

Paul Vetrov
  • 61
  • 1
  • 1
  • 6

4 Answers4

3

There are signed and unsigned drivers available on fedorapeople.org. It is possible to install signed drivers only. However, there is a small issue. Several root certificates, included in Windows installer expired recently. Because of this Windows 7 installer is not able to verify latest releases of drivers, since corresponding root certificate is only available after update.

This way the easiest solution is to install a copy of Windows 7 SP1 using virtualized SATA HDD and later change it to virtio after series of necessary updates.

Paul Vetrov
  • 61
  • 1
  • 1
  • 6
1

You need to use a different version of virtio drivers, for example, 173-9 (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.173-9/virtio-win-0.1.173.iso).

At this moment, the latest version of virtio drivers (204-1) isn't recognized by Windows 7 as signed during installation, and therefore can't be used. (The answer by Paul Vetrov has an explanation for it, although I'm not qualified to say if it's correct.) However, earlier versions are recognized and do work! For example, I was able to use versions 160-1 and 173-9. Version 185-1 (the next one after 173-9) didn't work, and I assume that all versions between 185-1 and 204-1 don't work, too.

pvgoran
  • 119
0

I recommand 0.1.173-9 too. Check my test for reasons.

https://github.com/virtio-win/virtio-win-pkg-scripts/issues/40#issuecomment-1565538797

bin456789
  • 148
0

My experience was this:

  1. Installing the guest tools (from the iso root directory) did not work with any version above 173-1. It said, it can not start "vdservice", I do not know what might it be. Maybe "virtual directory service", in this case, I could have solved it by not installing directory sharing.
  2. I could install the network driver (from the NetKVM directory) from 173-4. But it was a manual installation.
  3. 173-1 has no guest tools in the cd root directory.

Packing these together, I believe, nothing works really well, already with 173, but it can be done by some extra clicks and thinking.

I had luck, I need nothing more than virtio-network, so I am fine. If I would need a really top-top virtal win7, my next try would be the latest before all the 173 releases.

peterh
  • 293
  • 5
  • 17