]> xenbits.xensource.com Git - pvdrivers/win/xeniface.git/commit
Correct return codes during racy destruction.
authorMartin Harvey <martin.harvey@citrix.com>
Mon, 5 Dec 2022 09:01:59 +0000 (09:01 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 5 Dec 2022 09:06:22 +0000 (09:06 +0000)
commitdab4cdbf53b8600a25cd4bf016a61dc694bfe27a
tree865974ab6d80af39352ce565d95feefa23d8ce1a
parent9d17ba61d79dfc0ec5b138de0e6339f2c9cf2092
Correct return codes during racy destruction.

Errors in PnP retun codes found when testing under driver
verifier with mixed VM lifecycle operations. Under some
rare cases, it is possible to get more than one PnP
"remove-like" operation. This results in a PnP remove
operation being processed whilst the device is already
in the deleted state.

This patch fixes the immediate cause of the bugfixes,
by fixing the return code. Device destruction is
unchanged. Investigation into the root cause is still
ongoing.

Signed-off-by: Martin Harvey <martin.harvey@citrix.com>
Cosmetic fixes.

Signed-off-by: Paul Durrant <paul@xen.org>
src/xeniface/driver.c