]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Remove CoInstaller from INF
authorOwen Smith <owen.smith@cloud.com>
Wed, 13 Sep 2023 13:45:17 +0000 (14:45 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Thu, 28 Sep 2023 15:26:48 +0000 (16:26 +0100)
commit9daf0cc470c215a6ea8a489880dbf01142edad84
treef1b0b952a59fd54135c7c8788737296c4c66299d
parent9fde2a1d40768a5a4fce7b847b3776dcc159fe42
Remove CoInstaller from INF

Windows 11 22H2 WHQL requires INF files pass "InfVerif /k", which highlights
several issues
- PnpLockdown=1 needs to be specified
- CoInstallers are no longer allowed

The CoInstaller has several functions that will need alternative solutions:
- The AllowUpdate mechanism is no longer possible
- The ability to block upgrades from installing on a different vendor's drivers
- The safety checks that ensure interface versionings remain compatible
- The cleanup of xenbus_monitor on uninstall.

Interface safety checks need to be handled by changes to child device bindings,
and assuming upgrade via emulated devices is safe. The unplug keys are cleared
in the INF to revert to emulated on the next boot, incase the current child
drivers rely on an interface that is no longer present (note: in this case,
child drivers will need updating).

Signed-off-by: Owen Smith <owen.smith@cloud.com>
src/xenbus.inf