]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Asynchronous power handling.
authorMartin Harvey <Martin.Harvey@citrix.com>
Wed, 10 Jan 2024 13:42:21 +0000 (13:42 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Tue, 13 Feb 2024 15:32:56 +0000 (15:32 +0000)
commit2dd7695adf4e32e4e05fd22bc570a489efb9e8cd
treed7a2cd635a57d6481da52ae9b5fe34ea552468f3
parent8e6b3528709ab56f0185b690240e777dea6d4c72
Asynchronous power handling.

Replace a static, single thread for System and Device power transitions with
an IO_WORKITEM for each transition. IO_WORKITEMs are only used when a transition
requires calling codepaths that must be called at PASSIVE_LEVEL.
Move the bulk of power transitions to pending IRPs and IRP completion routines.

Signed-off-by: Martin Harvey <martin.harvey@citrix.com>
Refactored to only apply to XenBus power

Signed-off-by: Owen Smith <owen.smith@cloud.com>
Cleaned up out-of-style comments.

Signed-off-by: Paul Durrant <paul@xen.org>
src/xenbus/fdo.c
src/xenbus/pdo.c