libvirt/src/network
Laine Stump eb72bd63c1 network: consolidated info log for all network allocate/free operations
There are three functions that deal with allocating and freeing
devices from a networks netdev/pci device pool:
network(Allocate|Notify|Release)ActualDevice(). These functions also
maintain a counter of the number of domains currently using a network
(regardless of whether or not that network uses a device pool). Each
of these functions had multiple log messages (output using VIR_DEBUG)
that were in slightly different formats and gave varying amounts of
information.

This patch creates a single function to log the pertinent information
in a consistent manner for all three of these functions. Along with
assuring that all the functions produce a consistent form of output
(and making it simpler to change), it adds the MAC address of the
domain interface involved in the operation, making it possible to
verify which interface of which domain the operation is being done for
(assuming that all MAC addresses are unique, of course).

All of these messages are raised from DEBUG to INFO, since they don't
happen that often (once per interface per domain/libvirtd start or
domain stop), and can be very informative and helpful - eliminating
the need to log debug level messages makes it much easier to sort
these out.
2016-02-14 11:28:45 -05:00
..
bridge_driver_linux.c network: Add another collision check into networkCheckRouteCollision 2015-07-14 09:56:44 +02:00
bridge_driver_nop.c Replace virNetworkObjPtr with virNetworkDefPtr in network platform APIs 2014-04-25 15:44:09 +01:00
bridge_driver_platform.c bridge driver: extract platform specifics 2013-08-01 15:47:02 -06:00
bridge_driver_platform.h struct _virNetworkDriverState: Annotate items 2015-03-13 15:55:56 +01:00
bridge_driver.c network: consolidated info log for all network allocate/free operations 2016-02-14 11:28:45 -05:00
bridge_driver.h bridge_driver: Introduce networkBandwidthUpdate 2015-08-11 16:10:32 +02:00
default.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
leaseshelper.c leaseshelper: swap two parameters of virLeaseNew 2016-02-09 13:15:59 +01:00