]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Remove CoInstaller from INF
authorOwen Smith <owen.smith@cloud.com>
Wed, 13 Sep 2023 14:15:23 +0000 (15:15 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Fri, 29 Sep 2023 13:43:51 +0000 (14:43 +0100)
commitf5eb8bc1c55bc95f5992f168ee714c286353718e
tree26f573d171eac43aaa4add7d532088f0221bad4c
parent6967416f5231cf56944278c517148245d30ac259
Remove CoInstaller from INF

Windows 11 22H2 WHQL requires INF file 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 safety checks that ensure interface versionings remain compatible
- The writing of 'current' network identifiers to the registry in order to
  copy network settings.

Interface safety checks need to be handled by changes to child device bindings,
and assuming upgrade via emulated devices is safe. The unplug key is cleared
in the INF to revert to emulated NICs 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/xenvif.inf