From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0LPp-0003Lm-OC for qemu-devel@nongnu.org; Fri, 09 Apr 2010 17:07:01 -0400 Received: from [140.186.70.92] (port=50921 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0LPo-0003LS-JH for qemu-devel@nongnu.org; Fri, 09 Apr 2010 17:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0LPn-0004zt-7u for qemu-devel@nongnu.org; Fri, 09 Apr 2010 17:07:00 -0400 Received: from mail2.shareable.org ([80.68.89.115]:46099) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0LPn-0004z3-3A for qemu-devel@nongnu.org; Fri, 09 Apr 2010 17:06:59 -0400 Date: Fri, 9 Apr 2010 22:06:51 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: [libvirt] Libvirt debug API Message-ID: <20100409210650.GA31666@shareable.org> References: <4BBF2E93.3020508@redhat.com> <20100409142717.GA11875@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100409142717.GA11875@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Libvirt , Jiri Denemark , Chris Lalancette , qemu-devel@nongnu.org Daniel P. Berrange wrote: > I think this alteration of existing args is faaaar too complex & fragile, > and way overkill. Would it not be simpler, for the target audience, for the config to contain a one-line shell script to transform particular matched arguments in any way that's wanted? > If the arg that libvirt generates isn't what someone > needs, then remove the bit of the guest config responsible for that and > add a complete extra arg, rather than munging the existing one. Problem with that: You might want libvirt to think it has a device that it's controlling, still show in the GUI, still tie up with the rest of the stack, still do the management setup, but you just want to change some qemu-specific parameters. For example, cache=somethingelse for block devices, iptables=tobedefined for net devices, usbimplementation=hack for USB devices. -- Jamie