]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Don't output <cpu> tag if it contains no information.
authorAndrea Bolognani <abologna@redhat.com>
Fri, 10 Apr 2015 13:09:59 +0000 (15:09 +0200)
committerErik Skultety <eskultet@redhat.com>
Mon, 13 Apr 2015 07:27:26 +0000 (09:27 +0200)
commite4d7ddfdd2220046b8ca9f5e2af3a5d45e962e44
treeaa7654a33a784abfaffd1261961623625456f200
parentb487bb810ec95df862e7e80468c8e861ed80b0cb
conf: Don't output <cpu> tag if it contains no information.

The tag is already marked as optional in the schema, so no changes
are needed there.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1202606
src/conf/cpu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-cpu-empty.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-cpu-empty.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c