]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: simplify indentation of network xml
authorEric Blake <eblake@redhat.com>
Thu, 22 Sep 2011 18:00:45 +0000 (12:00 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 20 Oct 2011 23:04:47 +0000 (17:04 -0600)
commite36da1bd8ab58e6ebdba54e211da6ea47643a361
tree14549f9ca23d4d960590c73c45ba6918989100bc
parent4eedfd075e1fced8a09c3aa0e87a56e2531e51c4
snapshot: simplify indentation of network xml

More simplifications possible due to auto-indent.  Also,
<bandwidth> within <actual> was only using 6 instead of 8 spaces.

* src/util/network.h (virVirtualPortProfileFormat)
(virBandwidthDefFormat): Alter signature.
* src/util/network.c (virVirtualPortProfileFormat)
(virBandwidthDefFormat): Alter indentation.
(virBandwidthChildDefFormat): Tweak to make use easier.
* src/conf/network_conf.c (virPortGroupDefFormat)
(virNetworkDefFormat): Adjust callers.
* src/conf/domain_conf.c (virDomainNetDefFormat): Likewise.
(virDomainActualNetDefFormat): Likewise, and fix bandwidth
indentation.
src/conf/domain_conf.c
src/conf/network_conf.c
src/util/network.c
src/util/network.h