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

Re: [PATCH v2 2/4] tools/hotplug: combine add/online and remove/offline in vif-bridge...


  • To: Paul Durrant <paul@xxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxx>
  • Date: Tue, 4 Aug 2020 12:08:31 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Paul Durrant <pdurrant@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxx>
  • Delivery-date: Tue, 04 Aug 2020 11:08:39 +0000
  • Ironport-sdr: xbDK6NuB3IxMztfV/KWP86GkVvDnTiEWDD4MDvf6cPT8Ufl0LfrEUJB/mwfMKj8BfQd78iqXjQ 3fJd/bqIA2phSsf7j47cDuBH4uHh0umr49CRrRxZjPVXwqVT7Bi4bzRRiDUWaAuZZperYJRLIN gJc2bDJaAW9MWRsVRbciQJ68iJ9fR30t8bwmmXioLOQE4SMfX2bVkfwVXFRmaDCTQ6AdQeJQ+T JsrMRr2AK3H+5B8BtPvQMTyxuUlmyO6KqxTAPi8UxWvxUbsmFQStwp2nJ/w6qt4hGK5wj24V2Q mJ4=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Paul Durrant writes ("[PATCH v2 2/4] tools/hotplug: combine add/online and 
remove/offline in vif-bridge..."):
> From: Paul Durrant <pdurrant@xxxxxxxxxx>
> 
> ... as they are in vif-route.
> 
> The script is invoked with online/offline for vifs and add/remove for taps.
> The operations that are necessary, however, are the same in both cases. This
> patch therefore combines the cases.

This seems to newly add a "remove" case.  Previously "remove" was a
no-op here.  Is that right ?  If so it needs to be discussed in the
commit message.  We're not talking about a simple refactoring here!

Perhaps it would be best to move this bit

> +    remove)
> +        ;&
>      offline)

which I think is the relevant change, into its own commit ?

Ian.



 


Rackspace

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