From: Ian Campbell Subject: Re: [PATCH v3 4/5] libxl: call hotplug scripts from libxl for vif Date: Tue, 24 Apr 2012 10:18:54 +0100 Message-ID: <1335259134.4347.61.camel@zakaz.uk.xensource.com> References: <1334928211-29856-1-git-send-email-roger.pau@citrix.com> <1334928211-29856-5-git-send-email-roger.pau@citrix.com> <20373.35440.226796.301582@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20373.35440.226796.301582@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: "xen-devel@lists.xen.org" , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Mon, 2012-04-23 at 17:59 +0100, Ian Jackson wrote: > > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > > index 5cf9708..0b2c832 100644 > > --- a/tools/libxl/libxl_types.idl > > +++ b/tools/libxl/libxl_types.idl > > @@ -343,6 +343,7 @@ libxl_device_nic = Struct("device_nic", [ > > ("ifname", string), > > ("script", string), > > ("nictype", libxl_nic_type), > > + ("disable_xl_vif_script", integer), > > ]) > > We shouldn't have config options of the form "disable_...". They > should all be phrased as "enable" or in this case "run". And I'm not > convinced by "xl", but since there isn't any patch to the xl domain > configuration doc for this new option I'm not sure. Of course > documentation is needed... Also this should either be a bool, or perhaps a libxl_defbool if we want to do auto detection. Ian.