qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [libvirt] Libvirt debug API


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] Re: [libvirt] Libvirt debug API
Date: Sun, 11 Apr 2010 21:28:23 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Apr 09, 2010 at 10:06:51PM +0100, Jamie Lokier wrote:
> 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?

I might be missing something but I thought you could already do this
in current libvirt.  ie. Change the <emulator> element [1] to point to
your shell script:

  <emulator>/usr/local/bin/my-qemu-wrapper.sh</emulator>

The wrapper should get called with the command line arguments and you
can alter them however you like.

Isn't that right, Dan?

Rich.

[1] http://libvirt.org/formatdomain.html#elementsDevices

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




reply via email to

[Prev in Thread] Current Thread [Next in Thread]