]> xenbits.xensource.com Git - pvdrivers/win/xencons.git/commit
Destroy all handles on FdoD0ToD3
authorOwen Smith <owen.smith@citrix.com>
Mon, 11 Sep 2017 20:04:22 +0000 (13:04 -0700)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 11 Sep 2017 20:04:22 +0000 (13:04 -0700)
commit84b583523c64e5e778ef261a96c7db3fe0f551af
tree5408d5f141e2798a26ce6f4282e94ed1b7907fe1
parentca5408e755cf5553c5ca7d16e589adfb07f54c09
Destroy all handles on FdoD0ToD3

Since the StreamWorker holds a reference to the XENBUS_CONS interface,
xenbus will BUG_ON if the handles are not cleaned up before power down.
The service should close all handles in response to a
DBT_DEVICEQUERYREMOVE notification, but this may not be issued on
system power down.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Added missing UNREFERENCED_PARAMETER() to fix build failure.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xencons/fdo.c