From: Ian Jackson Subject: Re: [PATCH] libxl: prevent xl from running if xend is running. Date: Tue, 24 Apr 2012 18:10:48 +0100 Message-ID: <20374.56984.362620.464163@mariner.uk.xensource.com> References: <1335193862-37069-1-git-send-email-roger.pau@citrix.com> <20374.42987.732159.638716@mariner.uk.xensource.com> <1335274224.4347.138.camel@zakaz.uk.xensource.com> <20374.43998.471725.415493@mariner.uk.xensource.com> <4F96DDE0.3020708@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4F96DDE0.3020708@citrix.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: Roger Pau Monne Cc: George Dunlap , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("Re: [Xen-devel] [PATCH] libxl: prevent xl from run= ning if xend is running."): > Ian Jackson escribi=F3: > > Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxl: prevent xl from ru= nning if xend is running."): > >> On Tue, 2012-04-24 at 14:17 +0100, Ian Jackson wrote: > >>> Can we somehow limit this to commands that actually change things ? > >>> Having xl as a diagnostic tool even for xend-based systems is useful. > >> Perhaps a new flag in xl_cmdtable.h? Overriden by -f or -N (dry run). > > > > Yes, something like that. > = > Do you mean to add a new "-f" option to each command that performs = > modifications, or modifying the cmd_spec struct to add something like = > "int modifies", and check that before trying to execute the command? The latter. Ian.