]> xenbits.xensource.com Git - pvdrivers/win/xencons.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:07:29 +0000 (09:07 +0000)
commit22a8f25f4ffeceaad5d2a9ff56c4542072590002
tree8bb469b569cc6ada2f379436c5d43857f128567a
parent4a9f847380ab17f71e09ed12248f60301d8b466a
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/xencons/driver.c