mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 22:15:20 +00:00
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 <laine@laine.org> ACKed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
032548c42a
commit
15072f3a97
@ -977,6 +977,7 @@ virNetDevGetMaster(const char *ifname, char **master)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VIR_DEBUG("IFLA_MASTER for %s is %s", ifname, *master ? *master : "(none)");
|
||||||
ret = 0;
|
ret = 0;
|
||||||
cleanup:
|
cleanup:
|
||||||
VIR_FREE(nlData);
|
VIR_FREE(nlData);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user