]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Create SettingsKey SubKeys if needed
authorOwen Smith <owen.smith@citrix.com>
Mon, 24 Oct 2022 10:25:50 +0000 (11:25 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 31 Oct 2022 08:11:59 +0000 (08:11 +0000)
commitba1cced4290e2c3fdc35a82bc48f28cef3235040
tree671e221d3eae820678fe0fad3620713211844cb0
parentd9350a398a1f524454b11cf4f8a08bff134890f0
Create SettingsKey SubKeys if needed

Use RegistryCreateSubKey to create the settings key, if it does not exist,
when attempting to save the current settings. The SettingsKey's sub keys do
not exist when first installing drivers from emulated devices. This is only
an issue when the emulated devices have had network settings applied before
installing the PV drivers.

Also adds NTSTATUS values to error path logging.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenvif/settings.c