]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Fix issues in PdoStartDevice()
authorOwen Smith <owen.smith@cloud.com>
Thu, 14 Dec 2023 15:32:39 +0000 (15:32 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Tue, 19 Dec 2023 09:30:06 +0000 (09:30 +0000)
commit157b50935eb7832d0099122bb37ca6631a72cc61
tree3c40cfad59501194c5b3e3c2e7406dc2a18fd4a7
parent4ad537e418013ed4ce704c400c346b488e2c10d4
Fix issues in PdoStartDevice()

HardwareKey was not being closed in normal operation.
SoftwareKey only requires KEY_READ access.
Move DriverRequestReboot() to the point it is required to avoid a 'goto' in
the error handlers.

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