On Mon, Dec 14, 2015 at 04:52:43PM +0300, Dmitry Andreev wrote: > Hi all, > > QEMU has the '-d' command line option to configure logs/traces. > As I can see, <qemu:commandline> is the only way to set it in domain xml. > > <qemu:commandline> makes a configuration tainted and doesn't allow to update > tracing/logging configuration in runtime. The ability to update > configuration in runtime will be very useful for us in Virtuozzo for QEMU > problem investigation and development. > > So I want to ask you will you mind if I prepare a patch-set that introduces > a new section for domain xml with next scheme: > > <element name="debug"> > <zeroOrMore> > <element name="log"> > <attribute name="name"> > <ref name="filter-param-value"/> > </attribute> > </element> > </zeroOrMore> > </element> > > Is this acceptable? IMHO I've always considered <qemu:commandline> to be appropriate for these ad-hoc developer debugging flags. In addition I'm not hugely interested in adding APIs for controlling QEMU's debugging facilities, since I think these QEMU monitor commands are inherantly hypervisor specific. 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 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list