]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Add Unplug v2 interface (REV_0900000A)
authorOwen Smith <owen.smith@cloud.com>
Wed, 13 Sep 2023 13:45:16 +0000 (14:45 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Thu, 28 Sep 2023 15:25:09 +0000 (16:25 +0100)
commit9fde2a1d40768a5a4fce7b847b3776dcc159fe42
tree790bb5d9f72c0cf7f22523642a92acd00a36cb84
parentb0b9cc139600714778c82456d87b6a8d51cb7372
Add Unplug v2 interface (REV_0900000A)

Unplug v2 adds a query call to determine if a device type has had its unplug issued.
This is useful during upgrade cases when the Unplug keys have been set to 0, and can
be used to prevent XenVif from starting whilst emulated devices are present, but those
emulated devices have not been assigned a valid configuration yet (emulated devices
will receive valid configuration, but not at this point in the startup sequence during
upgrade)

Signed-off-by: Owen Smith <owen.smith@cloud.com>
Renamed UnplugWasRequested() to UnplugIsRequested() in the XENBUS_UNPLUG_INTERFACE_V2
by renaming the clashing XEN_API function from UnplugIsRequested() to UnplugGetRequest()

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
include/revision.h
include/unplug_interface.h
include/xen.h
src/xen/unplug.c
src/xenbus/unplug.c