]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Format <cpu/> properly
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Feb 2015 17:04:16 +0000 (18:04 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Feb 2015 08:26:04 +0000 (09:26 +0100)
commit0e69d97648e02bf3aa15adab6c555ceaa24da5b0
treeb9af27e58b0c569361b12a22a23f813a2aff085d
parent33912cc03e25247842851d1e261bd08cee2d86ff
cpu: Format <cpu/> properly

Well, not that we are not formatting invalid XML, rather than not as
beautiful as we can:

  <cpu mode='host-passthrough'>
  </cpu>

If there are no children, let's use the singleton element.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/cpu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-cpu-host-kvmclock.xml