]> xenbits.xensource.com Git - libvirt.git/commit
util: netlink function to delete any network device
authorLaine Stump <laine@laine.org>
Tue, 17 Mar 2015 18:27:21 +0000 (14:27 -0400)
committerLaine Stump <laine@laine.org>
Thu, 26 Mar 2015 19:29:42 +0000 (15:29 -0400)
commit0473b45cc16757ccc5392d2d1279d750af54bfb9
treecae0283003fecf50633c449e5bc611209c74709d
parentdf60346ca2e178de5bcc4dd951d63011883a56d7
util: netlink function to delete any network device

libvirt has always used the netlink RTM_DELLINK message to delete
macvtap/macvlan devices, but it can actually be used to delete other
types of network devices, such as bonds and bridges. This patch makes
virNetDevMacVLanDelete() available as a generic function so it can
intelligibly be called to delete these other types of interfaces.
src/libvirt_private.syms
src/util/virnetlink.c
src/util/virnetlink.h