]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Fix incorrect spice graphic XML format on compression options
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 24 May 2011 11:43:30 +0000 (13:43 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 31 May 2011 13:35:08 +0000 (15:35 +0200)
commit155542a57fa8498d762b00c3a7adc285c40a3ce9
tree2552e704e7fb571b1a105ee56bc14b63f6e830eb
parentef983dfe5ab9c8b126d435f3f3a46bdd6f8f21b6
conf: Fix incorrect spice graphic XML format on compression options

If spice graphics has no <channel> elements, the output graphics XML
is messed up. To prevent this, we need to end the <graphics> element
just before adding any compression selecting elements.
src/conf/domain_conf.c