[libvirt] qemu logging/tracing option in domain xml

Denis V. Lunev den at virtuozzo.com
Mon Dec 14 13:55:31 UTC 2015


On 12/14/2015 04:52 PM, 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?
>
we are asking as tracing becomes a part of logging API
with this patchset

http://comments.gmane.org/gmane.comp.emulators.qemu/375071

which is scheduled for QEMU 2.6 and some libvirt counfiguration
would be perfectly fine.

Den




More information about the libvir-list mailing list