]> xenbits.xensource.com Git - libvirt.git/commit
conf: rename interface "usageCount" to "connections"
authorLaine Stump <laine@laine.org>
Sun, 5 Aug 2012 06:45:04 +0000 (02:45 -0400)
committerLaine Stump <laine@laine.org>
Wed, 15 Aug 2012 03:53:58 +0000 (23:53 -0400)
commit643feae785781d0a309bc11bc553220fff46415a
treea76ab05fea5aeb2e2497d102b85de47fe07a162b
parent95ae4e7fa31d474ba905c13d819959e4e0428c21
conf: rename interface "usageCount" to "connections"

I want to include this count in the xml output of networks, but
calling it "connections" in the XML sounds better than "usageCount", and it
would be better if the name in the XML matched the variable name.

In a few places, usageCount was being initialized to 0, but this is
unnecessary, because VIR_ALLOC_N zero-fills everything anyway.
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c