[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/6] Add Unplug v2 interface (REV_0900000A)


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Thu, 28 Sep 2023 13:36:50 +0100
  • Delivery-date: Thu, 28 Sep 2023 12:36:56 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 13/09/2023 14:45, Owen Smith wrote:
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@xxxxxxxxx>
---
  include/revision.h         |  3 +-
  include/unplug_interface.h | 30 +++++++++++++++++--
  include/xen.h              |  7 +++++
  src/xen/unplug.c           | 15 ++++++++++
  src/xenbus/unplug.c        | 59 ++++++++++++++++++++++++++++++++++++++
  5 files changed, 111 insertions(+), 3 deletions(-)


Not sure about the 'Was' versus 'Is' thing. I think I'd prefer consistency, but I'll deal with that.

Acked-by: Paul Durrant <paul@xxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.