]> xenbits.xensource.com Git - pvdrivers/win/xeniface.git/commit
Fix Registry Isolation issues with Server 2025
authorOwen Smith <owen.smith@cloud.com>
Tue, 9 Jul 2024 10:41:21 +0000 (11:41 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 24 Jul 2024 09:31:29 +0000 (10:31 +0100)
commite9b8ae3d349a82c61f1ec2474fdec47fb7ae3f13
tree87b597d9e8aa0211d51fc9da461f87b5a41dcdac
parent01f14a192ba4280965f4b7b2ee3869c83ee56e7e
Fix Registry Isolation issues with Server 2025

Use MmGetSystemRoutineAddress to dynamically get IoOpenDriverRegistryKey,
which is not present on Server 2016.
Where possible, use IoOpenDriverRegistryKey to avoid opening absolute registry
paths, which is a driver verifier violation on Server 2025 WHQL testing.

Also refactors all registry access to use functions in registry.h and cleans up
driver.c to be more inline with other drivers.

Signed-off-by: Owen Smith <owen.smith@cloud.com>
src/xeniface/driver.c
src/xeniface/driver.h
src/xeniface/fdo.c
src/xeniface/registry.c
src/xeniface/registry.h
src/xeniface/wmi.c