[libvirt] [PATCH] conf: do not format redirfilter element if it do not have sub-element

John Ferlan jferlan at redhat.com
Wed May 27 00:00:14 UTC 2015



On 05/22/2015 05:26 AM, Luyao Huang wrote:
> When set a redirfilter element without sub-element, libvirt will
> format it like this:
> 
>     <redirfilter>
>     </redirfilter>
> 
> Just drop this element if it do not have any sub-element.
> 
> Signed-off-by: Luyao Huang <lhuang at redhat.com>
> ---
>  src/conf/domain_conf.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 

ACK - I'll slightly adjust commit message before pushing

John




More information about the libvir-list mailing list