From: Laine Stump Date: Sun, 1 Jul 2018 23:27:17 +0000 (-0400) Subject: util: add some debug log to virNetDevGetMaster X-Git-Tag: v4.6.0-rc1~350 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15072f3a97d8b55421fa418df58708e306d8813d;p=thirdparty%2Flibvirt.git util: add some debug log to virNetDevGetMaster This makes it easier to see why libvirt has decided it must re-attach a tap device to its bridge. Signed-off-by: Laine Stump ACKed-by: Michal Privoznik --- diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index b250af9e2c..c20022fbc9 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -977,6 +977,7 @@ virNetDevGetMaster(const char *ifname, char **master) goto cleanup; } + VIR_DEBUG("IFLA_MASTER for %s is %s", ifname, *master ? *master : "(none)"); ret = 0; cleanup: VIR_FREE(nlData);