]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Rework PdoStartDevice()
authorOwen Smith <owen.smith@cloud.com>
Thu, 14 Dec 2023 15:32:40 +0000 (15:32 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Tue, 19 Dec 2023 09:49:45 +0000 (09:49 +0000)
commita67e7510981fa90ea5b3f817f267ba5cb8357eb9
treef8793c1432b62b96e6163be822461641ab255d1f
parent157b50935eb7832d0099122bb37ca6631a72cc61
Rework PdoStartDevice()

Moves MIB table parsing, detection of aliased device and copying of network
settings to a separate function, to avoid any failures to the START_DEVICE
IRP if network alias detection and settings copying code fails. The only failure
of note is STATUS_PNP_REBOOT_REQUIRED, indicating the VM requires a reboot to
replace emulated devices.
Windows Update will reject driver updates if sufficient install failures or
failures within 2 days of install are detected (> 5% of installs). Completing
the START_DEVICE IRP with any failure other than STATUS_PNP_REBOOT_REQUIRED will
cause an installation failure (Code 10) and lead to driver updates being removed
from Windows Update.

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