]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Correct return codes during racy destruction.
authorMartin Harvey <Martin.Harvey@citrix.com>
Mon, 14 Nov 2022 11:32:26 +0000 (11:32 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Fri, 2 Dec 2022 18:43:21 +0000 (18:43 +0000)
commit53f27fe1ed6b86172f184cc76f9eccd88fda481e
tree87379ee5aac617bcdd86952f334427c702e123c0
parent5ef417017d8c18654919f062f6074cff53cc927a
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/xenbus/driver.c
src/xenfilt/driver.c