kvm-guest-drivers-windows: Windows 21H2 installation fails with v0.1.217-1

Describe the bug Windows installation gets “stuck” at ~94% when using v0.1.217-1, while v0.1.215-2 works fine.

To Reproduce Steps to reproduce the behaviour:

  1. Obtain Win10_21H2_EnglishInternational_x64.iso, sha256sum 06fd4a512c5f3e8d16f77ca909c4f20110329b8cdd5ad101e2afc0d58b06d416
  2. Try to install it via virt-manager
  3. Observe the VM “freeze” when using VirtIO’s viostor.inf

Expected behavior Installation succeeds.

Screenshots N/A

Host:

  • Distro: Debian Testing

  • Kernel version: v5.16.18

  • QEMU version: v6.2+dfsg-3

  • QEMU command line: N/A (using virt-manager v4.0.0)

  • libvirt version: v8.1.0-2

  • libvirt XML file: Under the spoiler below

    (click me)
    <domain type="kvm">
    <name>win10</name>
    <uuid>48abf6bc-9d03-48cd-8839-5163d8f74310</uuid>
    <metadata>
     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
       <libosinfo:os id="http://microsoft.com/win/10"/>
     </libosinfo:libosinfo>
    </metadata>
    <memory unit="KiB">16777216</memory>
    <currentMemory unit="KiB">16777216</currentMemory>
    <memoryBacking>
     <source type="memfd"/>
     <access mode="shared"/>
    </memoryBacking>
    <vcpu placement="static">8</vcpu>
    <os>
     <type arch="x86_64" machine="pc-q35-6.2">hvm</type>
    </os>
    <features>
     <acpi/>
     <apic/>
     <hyperv mode="custom">
       <relaxed state="on"/>
       <vapic state="on"/>
       <spinlocks state="on" retries="8191"/>
     </hyperv>
     <vmport state="off"/>
    </features>
    <cpu mode="host-passthrough" check="none" migratable="on"/>
    <clock offset="localtime">
     <timer name="rtc" tickpolicy="catchup"/>
     <timer name="pit" tickpolicy="delay"/>
     <timer name="hpet" present="no"/>
     <timer name="hypervclock" present="yes"/>
    </clock>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <pm>
     <suspend-to-mem enabled="no"/>
     <suspend-to-disk enabled="no"/>
    </pm>
    <devices>
     <emulator>/usr/bin/qemu-system-x86_64</emulator>
     <disk type="file" device="disk">
       <driver name="qemu" type="qcow2"/>
       <source file="/home/lbr/VM/images/21h2.qcow2"/>
       <target dev="vda" bus="virtio"/>
       <boot order="1"/>
       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
     </disk>
     <disk type="file" device="cdrom">
       <driver name="qemu" type="raw"/>
       <source file="/home/lbr/VM/tools/virtio-win-0.1.215.iso"/>
       <target dev="sda" bus="sata"/>
       <readonly/>
       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
     </disk>
     <controller type="usb" index="0" model="qemu-xhci" ports="15">
       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
     </controller>
     <controller type="pci" index="0" model="pcie-root"/>
     <controller type="pci" index="1" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="1" port="0x10"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
     </controller>
     <controller type="pci" index="2" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="2" port="0x11"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
     </controller>
     <controller type="pci" index="3" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="3" port="0x12"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
     </controller>
     <controller type="pci" index="4" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="4" port="0x13"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
     </controller>
     <controller type="pci" index="5" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="5" port="0x14"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
     </controller>
     <controller type="pci" index="6" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="6" port="0x15"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
     </controller>
     <controller type="pci" index="7" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="7" port="0x16"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
     </controller>
     <controller type="pci" index="8" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="8" port="0x17"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
     </controller>
     <controller type="pci" index="9" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="9" port="0x18"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
     </controller>
     <controller type="pci" index="10" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="10" port="0x19"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
     </controller>
     <controller type="pci" index="11" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="11" port="0x1a"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
     </controller>
     <controller type="pci" index="12" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="12" port="0x1b"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
     </controller>
     <controller type="pci" index="13" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="13" port="0x1c"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
     </controller>
     <controller type="pci" index="14" model="pcie-root-port">
       <model name="pcie-root-port"/>
       <target chassis="14" port="0x1d"/>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
     </controller>
     <controller type="sata" index="0">
       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
     </controller>
     <controller type="virtio-serial" index="0">
       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
     </controller>
     <filesystem type="mount" accessmode="passthrough">
       <driver type="virtiofs"/>
       <source dir="/tmp/vshare"/>
       <target dir="vshare"/>
       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
     </filesystem>
     <serial type="pty">
       <target type="isa-serial" port="0">
         <model name="isa-serial"/>
       </target>
     </serial>
     <console type="pty">
       <target type="serial" port="0"/>
     </console>
     <channel type="spicevmc">
       <target type="virtio" name="com.redhat.spice.0"/>
       <address type="virtio-serial" controller="0" bus="0" port="1"/>
     </channel>
     <channel type="spiceport">
       <source channel="org.spice-space.webdav.0"/>
       <target type="virtio" name="org.spice-space.webdav.0"/>
       <address type="virtio-serial" controller="0" bus="0" port="2"/>
     </channel>
     <input type="tablet" bus="usb">
       <address type="usb" bus="0" port="1"/>
     </input>
     <input type="mouse" bus="ps2"/>
     <input type="keyboard" bus="ps2"/>
     <graphics type="spice">
       <listen type="none"/>
       <image compression="off"/>
       <gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:0c:00.0-render"/>
     </graphics>
     <sound model="ich9">
       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
     </sound>
     <audio id="1" type="spice"/>
     <video>
       <model type="virtio" heads="1" primary="yes">
         <acceleration accel3d="yes"/>
       </model>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
     </video>
     <redirdev bus="usb" type="spicevmc">
       <address type="usb" bus="0" port="2"/>
     </redirdev>
     <redirdev bus="usb" type="spicevmc">
       <address type="usb" bus="0" port="3"/>
     </redirdev>
     <memballoon model="virtio">
       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
     </memballoon>
     <vsock model="virtio">
       <cid auto="yes" address="3"/>
       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
     </vsock>
    </devices>
    </domain>
    

VM:

  • Windows version: 10.0.19044 Build 19044 (21H2)
  • Which driver has a problem: W10-specific viostor.inf
  • Driver version or commit hash that was used to build the driver: All from v0.1.217-1.

Additional context Same setup as in the #760

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 3
  • Comments: 20

Most upvoted comments

I also can’t install v0.1.217-1 in Win11 (22000.613). But 0.1.215 really works. Here is the log update 0.1.215 to 0.1.217 in my vm-win11. I tried to install v0.1.217-1 in a new vm-win11, similar 0x80070643 popped.

[2FA4:07B4][2022-05-03T17:16:02]i001: Burn v3.11.1.2318, Windows v10.0 (Build 22000: Service Pack 0), path: C:\Users\wxz\AppData\Local\Temp\{701466F9-4F57-4677-BDA0-0F4F33A4DB51}\.cr\virtio-win-guest-tools.exe
[2FA4:07B4][2022-05-03T17:16:02]i009: Command Line: '-burn.clean.room=F:\virtio-win-guest-tools.exe -burn.filehandle.attached=740 -burn.filehandle.self=560'
[2FA4:07B4][2022-05-03T17:16:02]i000: Setting string variable 'WixBundleOriginalSource' to value 'F:\virtio-win-guest-tools.exe'
[2FA4:07B4][2022-05-03T17:16:02]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'F:\'
[2FA4:07B4][2022-05-03T17:16:02]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602.log'
[2FA4:07B4][2022-05-03T17:16:02]i000: Setting string variable 'WixBundleName' to value 'Virtio-win-guest-tools'
[2FA4:07B4][2022-05-03T17:16:02]i000: Setting string variable 'WixBundleManufacturer' to value 'Red Hat, Inc.'
[2FA4:050C][2022-05-03T17:16:02]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[2FA4:050C][2022-05-03T17:16:02]i000: Setting version variable 'WixBundleFileVersion' to value '0.1.217.0'
[2FA4:07B4][2022-05-03T17:16:02]i100: Detect begin, 8 packages
[2FA4:07B4][2022-05-03T17:16:02]i102: Detected related bundle: {e2e8124d-6dd0-4247-bde0-6a6bccde383d}, type: Upgrade, scope: PerMachine, version: 0.1.215.0, operation: MajorUpgrade
[2FA4:07B4][2022-05-03T17:16:02]i103: Detected related package: {32A54EE9-1358-4C7B-8468-C5BB42F4F849}, scope: PerMachine, version: 0.1.215.0, language: 0 operation: MajorUpgrade
[2FA4:07B4][2022-05-03T17:16:02]w120: Detected partially cached package: vwi.Nd8s, invalid payload: vwi.Nd8s, reason: 0x80070570
[2FA4:07B4][2022-05-03T17:16:02]w120: Detected partially cached package: vwi.EnWd, invalid payload: vwi.EnWd, reason: 0x80070570
[2FA4:07B4][2022-05-03T17:16:02]w120: Detected partially cached package: vwi.JOT3, invalid payload: vwi.JOT3, reason: 0x80070570
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: virtio_win_gt_x64.msi, state: Absent, cached: None
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_balloon_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_network_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_pvpanic_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_qemufwcfg_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_qemupciserial_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_vioinput_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_viorng_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_vioscsi_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_vioserial_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_viostor_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_viofs_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x64.msi, feature: FE_viogpudo_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: virtio_win_gt_x86.msi, state: Absent, cached: None
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_balloon_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_network_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_pvpanic_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_qemufwcfg_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_qemupciserial_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_vioinput_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_viorng_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_vioscsi_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_vioserial_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_viostor_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_viofs_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i104: Detected package: virtio_win_gt_x86.msi, feature: FE_viogpudo_driver, state: Absent
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: vwi.Nd8s, state: Absent, cached: Partial
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: vwi.hFnE, state: Absent, cached: None
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: vwi.EnWd, state: Absent, cached: Partial
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: vwi.A8sd, state: Absent, cached: None
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: vwi.JOT3, state: Present, cached: Partial
[2FA4:07B4][2022-05-03T17:16:02]i101: Detected package: vwi.sAOY, state: Absent, cached: None
[2FA4:07B4][2022-05-03T17:16:02]i199: Detect complete, result: 0x0
[2FA4:050C][2022-05-03T17:16:04]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[2FA4:07B4][2022-05-03T17:16:04]i200: Plan begin, 8 packages, action: Install
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'VersionNT64' evaluates to true.
[2FA4:07B4][2022-05-03T17:16:04]i204: Plan 12 msi features for package: virtio_win_gt_x64.msi
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_balloon_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_network_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_pvpanic_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_qemufwcfg_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_qemupciserial_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_vioinput_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viorng_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_vioscsi_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_vioserial_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viostor_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viofs_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viogpudo_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i000: Setting string variable 'WixBundleRollbackLog_virtio_win_gt_x64.msi' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602_000_virtio_win_gt_x64.msi_rollback.log'
[2FA4:07B4][2022-05-03T17:16:04]i000: Setting string variable 'WixBundleLog_virtio_win_gt_x64.msi' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602_000_virtio_win_gt_x64.msi.log'
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'NOT VersionNT64' evaluates to false.
[2FA4:07B4][2022-05-03T17:16:04]i204: Plan 12 msi features for package: virtio_win_gt_x86.msi
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_balloon_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_network_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_pvpanic_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_qemufwcfg_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_qemupciserial_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_vioinput_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viorng_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_vioscsi_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_vioserial_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viostor_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viofs_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i203: Planned feature: FE_viogpudo_driver, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'VersionNT64 AND VersionNT64 > v8' evaluates to true.
[2FA4:07B4][2022-05-03T17:16:04]i000: Setting string variable 'WixBundleRollbackLog_vwi.Nd8s' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602_001_vwi.Nd8s_rollback.log'
[2FA4:07B4][2022-05-03T17:16:04]i000: Setting string variable 'WixBundleLog_vwi.Nd8s' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602_001_vwi.Nd8s.log'
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'NOT VersionNT64 AND VersionNT > v8' evaluates to false.
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'VersionNT64' evaluates to true.
[2FA4:07B4][2022-05-03T17:16:04]i000: Setting string variable 'WixBundleRollbackLog_vwi.EnWd' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602_002_vwi.EnWd_rollback.log'
[2FA4:07B4][2022-05-03T17:16:04]i000: Setting string variable 'WixBundleLog_vwi.EnWd' to value 'C:\Users\wxz\AppData\Local\Temp\Virtio-win-guest-tools_20220503171602_002_vwi.EnWd.log'
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'NOT VersionNT64' evaluates to false.
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'VersionNT64' evaluates to true.
[2FA4:07B4][2022-05-03T17:16:04]i052: Condition 'NOT VersionNT64' evaluates to false.
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: virtio_win_gt_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: virtio_win_gt_x86.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: vwi.Nd8s, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: vwi.hFnE, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: vwi.EnWd, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: vwi.A8sd, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: vwi.JOT3, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[2FA4:07B4][2022-05-03T17:16:04]i201: Planned package: vwi.sAOY, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2FA4:07B4][2022-05-03T17:16:04]i207: Planned related bundle: {e2e8124d-6dd0-4247-bde0-6a6bccde383d}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[2FA4:07B4][2022-05-03T17:16:04]i299: Plan complete, result: 0x0
[2FA4:07B4][2022-05-03T17:16:04]i300: Apply begin
[2FA4:07B4][2022-05-03T17:16:04]i010: Launching elevated engine process.
[2FA4:07B4][2022-05-03T17:16:05]i011: Launched elevated engine process.
[2FA4:07B4][2022-05-03T17:16:05]i012: Connected to elevated engine.
[2B60:2B64][2022-05-03T17:16:05]i358: Pausing automatic updates.
[2B60:2B64][2022-05-03T17:16:05]i359: Paused automatic updates.
[2B60:2B64][2022-05-03T17:16:05]i360: Creating a system restore point.
[2B60:2B64][2022-05-03T17:16:05]w363: Could not create system restore point, error: 0x80070422. Continuing...
[2B60:2B64][2022-05-03T17:16:05]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fd19b148-9331-4439-b9d0-7c0a75325bca}, options: 0x7, disable resume: No
[2B60:2B64][2022-05-03T17:16:05]i000: Caching bundle from: 'C:\Users\wxz\AppData\Local\Temp\{ABA228E2-4BB1-4B7C-9F7B-01963A95F633}\.be\virtio-win-guest-tools.exe' to: 'C:\ProgramData\Package Cache\{fd19b148-9331-4439-b9d0-7c0a75325bca}\virtio-win-guest-tools.exe'
[2B60:2B64][2022-05-03T17:16:05]i320: Registering bundle dependency provider: {fd19b148-9331-4439-b9d0-7c0a75325bca}, version: 0.1.217.0
[2B60:2B64][2022-05-03T17:16:05]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fd19b148-9331-4439-b9d0-7c0a75325bca}, resume: Active, restart initiated: No, disable resume: No
[2B60:2DC4][2022-05-03T17:16:05]i305: Verified acquired payload: virtio_win_gt_x64.msi at path: C:\ProgramData\Package Cache\.unverified\virtio_win_gt_x64.msi, moving to: C:\ProgramData\Package Cache\{BCD114AB-40F1-4799-B67E-F6F5B2A88722}v0.1.217\virtio-win-gt-x64.msi.
[2B60:2DC4][2022-05-03T17:16:05]i304: Verified existing payload: vwi.Nd8s at path: C:\ProgramData\Package Cache\{5E1A65FB-25EC-456D-859A-251996BF4BCE}v0.21.2.0\vwi.Nd8s.
[2B60:2DC4][2022-05-03T17:16:05]i304: Verified existing payload: vwi.EnWd at path: C:\ProgramData\Package Cache\{EE3877E4-07B0-41F2-ADB8-B45133DDCE37}v0.10.5\vwi.EnWd.
[2B60:2B64][2022-05-03T17:16:05]i323: Registering package dependency provider: {BCD114AB-40F1-4799-B67E-F6F5B2A88722}, version: 0.1.217, package: virtio_win_gt_x64.msi
[2B60:2B64][2022-05-03T17:16:05]i301: Applying execute package: virtio_win_gt_x64.msi, action: Install, path: C:\ProgramData\Package Cache\{BCD114AB-40F1-4799-B67E-F6F5B2A88722}v0.1.217\virtio-win-gt-x64.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[2B60:2B64][2022-05-03T17:16:46]e000: Error 0x80070643: Failed to install MSI package.
[2B60:2B64][2022-05-03T17:16:46]e000: Error 0x80070643: Failed to execute MSI package.
[2FA4:07B4][2022-05-03T17:16:46]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2FA4:07B4][2022-05-03T17:16:46]i319: Applied execute package: virtio_win_gt_x64.msi, result: 0x80070643, restart: None
[2FA4:07B4][2022-05-03T17:16:46]e000: Error 0x80070643: Failed to execute MSI package.
[2B60:2B64][2022-05-03T17:16:46]i318: Skipped rollback of package: virtio_win_gt_x64.msi, action: Uninstall, already: Absent
[2FA4:07B4][2022-05-03T17:16:46]i319: Applied rollback package: virtio_win_gt_x64.msi, result: 0x0, restart: None
[2B60:2B64][2022-05-03T17:16:46]i329: Removed package dependency provider: {BCD114AB-40F1-4799-B67E-F6F5B2A88722}, package: virtio_win_gt_x64.msi
[2B60:2B64][2022-05-03T17:16:46]i351: Removing cached package: virtio_win_gt_x64.msi, from path: C:\ProgramData\Package Cache\{BCD114AB-40F1-4799-B67E-F6F5B2A88722}v0.1.217\
[2B60:2B64][2022-05-03T17:16:46]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fd19b148-9331-4439-b9d0-7c0a75325bca}, resume: None, restart: None, disable resume: No
[2B60:2B64][2022-05-03T17:16:46]i330: Removed bundle dependency provider: {fd19b148-9331-4439-b9d0-7c0a75325bca}
[2B60:2B64][2022-05-03T17:16:46]i352: Removing cached bundle: {fd19b148-9331-4439-b9d0-7c0a75325bca}, from path: C:\ProgramData\Package Cache\{fd19b148-9331-4439-b9d0-7c0a75325bca}\
[2B60:2B64][2022-05-03T17:16:46]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fd19b148-9331-4439-b9d0-7c0a75325bca}, resume: None, restart initiated: No, disable resume: No
[2FA4:07B4][2022-05-03T17:16:46]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No

I also can’t install v0.1.217-1 in Win11 (22000.613). But 0.1.215 really works. Here is the log update 0.1.215 to 0.1.217 in my vm-win11. I tried to install v0.1.217-1 in a new vm-win11, similar 0x80070643 popped.

I can’t say for sure whether this is the proximate cause for you just based on the outer MSI log, but:

0.1.217-1 introduced a new feature where four of the drivers in the installer (pvpanic, qemufwcfg, qemupciserial, and smbus) are self-signed for some reason, instead of having a valid signature like they did in 0.1.215-2. Which, from what I can tell, makes the installer fail. 🙄 See #769. (The virtio-win installer seems to consist of layers and layers of extremely strict logic insisting that you simply cannot install, or uninstall, or do anything else, even a little bit, unless everything is exactly perfect.)

So if you want to use 0.1.217-1, either:

  • turn on test signing in the OS (if that’s really what you want, which it probably isn’t)
  • deselect those drivers in the installer (if you don’t need them)

Otherwise, just use 0.1.215-2 until that idiocy is fixed.


Edit: Actually the installer in 0.1.217-1 may be failing because of devices not present rather than because of self-signed drivers. virtio-win/virtio-win-guest-tools-installer#33

Frankly, I’ve wasted enough of my day already just trying to install virtio-win to want to figure out exactly which of the possibilities it is. In any case, 0.1.217-1 is just busted.

Hello, confirming the same issue with 217 while 215 works fine.

Current guest OS version: Microsoft Windows [Version 10.0.19044.1645]. Initially installed from Win10_21H2_English_x64.iso (SHA256: 7F6538F0EB33C30F0A5CBBF2F39973D4C8DEA0D64F69BD18E406012F17A8234F) from https://www.microsoft.com/en-us/software-download/windows10ISO.

Running with: /usr/bin/qemu-system-x86_64 -name guest=win10,debug-threads=on -S -object {"qom-type":"secret","id":"masterKey0","format":"raw","file":"/home/user/.config/libvirt/qemu/lib/domain-1-win10/master-key.aes"} -machine pc-q35-6.2,usb=off,vmport=off,dump-guest-core=off,memory-backend=pc.ram -accel kvm -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff -m 8192 -object {"qom-type":"memory-backend-ram","id":"pc.ram","size":8589934592} -overcommit mem-lock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 08fbb154-47f8-4dd1-b08f-f02d23e83d2c -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=27,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device pcie-root-port,port=16,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 -device pcie-root-port,port=17,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 -device pcie-root-port,port=18,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 -device pcie-root-port,port=19,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 -device pcie-root-port,port=20,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 -device pcie-root-port,port=21,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 -device pcie-root-port,port=22,chassis=7,id=pci.7,bus=pcie.0,addr=0x2.0x6 -device pcie-root-port,port=23,chassis=8,id=pci.8,bus=pcie.0,addr=0x2.0x7 -device pcie-root-port,port=24,chassis=9,id=pci.9,bus=pcie.0,multifunction=on,addr=0x3 -device pcie-root-port,port=25,chassis=10,id=pci.10,bus=pcie.0,addr=0x3.0x1 -device pcie-root-port,port=26,chassis=11,id=pci.11,bus=pcie.0,addr=0x3.0x2 -device pcie-root-port,port=27,chassis=12,id=pci.12,bus=pcie.0,addr=0x3.0x3 -device pcie-root-port,port=28,chassis=13,id=pci.13,bus=pcie.0,addr=0x3.0x4 -device pcie-root-port,port=29,chassis=14,id=pci.14,bus=pcie.0,addr=0x3.0x5 -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 -blockdev {"driver":"file","filename":"/home/user/vm/win10/win10-128gb.qcow2","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-2-format","read-only":false,"driver":"qcow2","file":"libvirt-2-storage","backing":null} -device ide-hd,bus=ide.0,drive=libvirt-2-format,id=sata0-0-0,bootindex=1 -blockdev {"driver":"file","filename":"/home/user/.local/share/libvirt/images/virtio-win.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"} -device ide-cd,bus=ide.1,drive=libvirt-1-format,id=sata0-0-1 -netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:86:5f:0f,bus=pci.1,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0,index=0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -audiodev {"id":"audio1","driver":"spice"} -spice port=5900,addr=127.0.0.1,disable-ticketing=on,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,max_outputs=1,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,bus=pcie.0,addr=0x1 -device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0,audiodev=audio1 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device virtio-balloon-pci,id=balloon0,bus=pci.4,addr=0x0 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on

QEMU version: qemu-system-x86_64 --version QEMU emulator version 6.2.0 Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers