[libvirt] invoking qemu with -readconfig

Daniel P. Berrange berrange at redhat.com
Fri Jul 12 09:36:04 UTC 2013


On Thu, Jul 11, 2013 at 12:56:31PM -0600, Jim Fehlig wrote:
> Hi All,
> 
> I was recently asked about the possibility of libvirt creating a config
> file and then invoking qemu with '-readconfig <file>' instead of passing
> all arguments on the command line.  The primary reason for this request
> is a more readable ps output and the ability to inspect the arguments in
> a file (with one arg per line) instead of one long line.

Note: you can already inspect all the arguments in a file

 /var/log/libvirt/qemu/$GUESTNAME.log

always contains the args

> I was certain there was a similar request in the past, but haven't had
> much luck searching the mail archives or with google.  Has this been
> discussed previously?  If so, any pointers or summary of the outcome? 
> If not, what are folks' opinion about this?

I guess my answer depends on how much work it would involve ? If we could
use all our existing command line generator code & simply write the result
to a file, that'd be reasonable. If we had to change all our code to write
stuff in a different format, I'd be less enthusiastic.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list