]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: re-situate <bandwidth> element in <interface>
authorLaine Stump <laine@laine.org>
Wed, 19 Feb 2014 14:22:48 +0000 (16:22 +0200)
committerLaine Stump <laine@laine.org>
Tue, 25 Feb 2014 14:03:05 +0000 (16:03 +0200)
commit65487c0fc5c1866bbdc397a7fb2e5dff72dc8860
treeb8bc843bf5dc0424c1bf44af5da7cc2008df10ac
parent7c39214cd4b7fe01e02efc3105c001fea0484b1a
conf: re-situate <bandwidth> element in <interface>

This moves the call to virNetDevBandwidthFormat() in
virDomainNetDefFormat() to be called right after the call to
virNetDevVPortProfileFormat(), so that a single chunk of that function
can be placed inside an if that conditionally calls
virDomainActualNetDefContentsFormat() instead (next patch). The
re-ordering necessitates modifying a couple of test data files.
src/conf/domain_conf.c
tests/qemuhotplugtestdata/qemuhotplug-console-compat-2+console-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml
tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth.xml