]> xenbits.xensource.com Git - pvdrivers/win/xeniface.git/commit
Call OnDeviceRemoved callback(s) during DeviceList.Stop()
authorOwen Smith <owen.smith@citrix.com>
Thu, 19 Jul 2018 11:55:31 +0000 (12:55 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 19 Jul 2018 11:55:31 +0000 (12:55 +0100)
commit7200b784f052f46e3b0d8321b7b5d192056ef773
tree0efd82e7dcd415e5d6f1313e75a8a773d47184be
parent3b272d219646d1e9dcbc12dd9257d5bd80de9103
Call OnDeviceRemoved callback(s) during DeviceList.Stop()

OnDeviceAdded is called for every pre-attached device during
DeviceList.Start(), the corresponding call to OnDeviceRemoved should be
called for each attached device during the DeviceList.Stop() call.
By calling the OnDeviceRemoved callback during the service stop, the
xenagent service can remove the "feature-[poweroff|reboot|s3|s4]" flags.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenagent/devicelist.cpp