Page MenuHomeFreeBSD

bhyve/virtio: add config option to change the subvendor
AbandonedPublic

Authored by corvink on Sep 5 2022, 8:25 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Nov 25, 6:57 AM
Unknown Object (File)
Sep 23 2024, 5:51 PM
Unknown Object (File)
Sep 23 2024, 7:14 AM
Unknown Object (File)
Sep 22 2024, 10:11 AM
Unknown Object (File)
Sep 21 2024, 6:19 AM
Unknown Object (File)
Sep 19 2024, 6:22 PM
Unknown Object (File)
Sep 18 2024, 1:20 PM
Unknown Object (File)
Sep 17 2024, 2:46 PM

Details

Reviewers
jhb
markj
Group Reviewers
bhyve
Summary

A Windows VM with secure boot only accepts Windows signed driver. So, it
doesn't accept the widely used VirtIO driver from Red Hat. The VM only
accepts the VritIO driver from Oracle. Instead of setting the subvendor
id of each VirtIO device separately, create a single config option to
change it.

The use case for secure boot is Windows 11. It requires secure boot.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Can we have a universal PCI vendor/subvendor setting for all PCI devices instead of for particular PCI devices? other pci devices may want to change the ID/subID too. For example, if I want to fake the NVMe controller as an Intel one.

Thought of this approach too but it's harder for the user to patch all virtio device properly than setting a single flag.

Maybe some bhyve maintainer could give some feedback.

The VM only accepts the VritIO driver from Oracle

official virtio-win-0.1.221-1 not work?

The VM only accepts the VritIO driver from Oracle

official virtio-win-0.1.221-1 not work?

I've tested virtio-win-0.1.185-2 which doesn't work but virtio-win-0.1.221-1 works. Thanks for the hint.