-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add-WindowsDriver pvpanic-pci fails with: the request is not supported #1107
Comments
Please supply QEMU command line. Also keep in mind that officially we are not supporting Windows PE. So it might take time for us to take a look at the issue. |
Why is the qemu cmdline relevant? I mean, Add-Windows Driver is supposed to just add the driver to the windows driver store? Does it actually load the driver? |
So is this SW first scenario (adding driver without having HW device)? |
Yes, the VM (which calls Add-WindowsDriver) that is creating the windows pe iso does not have all the virtio HW devices added to qemu. The idea is to add all of the virtio drivers to the windows pe iso (and not to the VM that is creating the iso), that way, when windows pe runs, it has all the possible virtio drivers baked in. |
I can reproduce this issue locally. It turns out the failure is due to the pvpanic-pci binary isn't signed/certified by Microsoft. I suppose WHQL test hasn't been run with pvpanic-pci driver, so the driver isn't signed together with pvpanic driver. This existing pvpanic-pci binary is signed with Redhat signature, this 3rd party signature doesn't satisfy "Add-WindowsDriver". |
The pvpanic-pci driver in virtio-win-0.1.248 is not attestation signed. Unfortunately, the upcoming public release virtio-win-0.1.262 (which should be available in a week) will also have the same problem. We will fix this issue in the next public release coming after that. Vadim. |
Describe the bug
In a Windows 2022 machine, while building a Windows PE image mounted at
$env:WINDOWS_PE_MOUNT_PATH
, callingAdd-WindowsDriver pvpanic-pci
fails withthe request is not supported
error.This also happens for the
smbus.inf
driver.To Reproduce
Follow the procedure to mount the Windows PE (e.g. like done at https://github.com/rgl/windows-pe-vagrant/blob/master/provision-winpe.ps1), then try the following to include the
pvpanic-pci
driver into the mounted Windows PE image:Expected behavior
Expected the driver to be successfully added to the Windows PE image.
Host:
VM:
The text was updated successfully, but these errors were encountered: