]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Asynchronous power handling.
authorMartin Harvey <Martin.Harvey@citrix.com>
Mon, 18 Mar 2024 15:28:51 +0000 (15:28 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 25 Mar 2024 11:23:56 +0000 (11:23 +0000)
commit9aa5ac4a05d2e5c0548e95f335060511d393165e
tree2e7f6081026f272f37e30e2d6044d36c2fc3f106
parentd9be3287406d3449e8ae688b6f761a0c67478260
Asynchronous power handling.

Use completion routines and IO_WORKITEMs to handle power state transitions,
allowing execution to run at PASSIVE_LEVEL without blocking the current thread,
and avoid blocking all power IRPs while another is executing (power IRPs should
be synchronized by the power manager, but this doesnt appear to be the case in
all situations).

Signed-off-by: Martin Harvey <martin.harvey@citrix.com>
Refactored, wrong format comments removed
Signed-off-by: Owen Smith <owen.smith@cloud.com>
Further cosmetic fixes for style consistency.
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
src/xenvif/fdo.c
src/xenvif/pdo.c