[libvirt] [PATCH 2/4] util: replace body of virNetDevMacVLanDelete() with virNetlinkDelLink()

John Ferlan jferlan at redhat.com
Tue Mar 24 21:50:17 UTC 2015



On 03/23/2015 03:43 PM, Laine Stump wrote:
> These two functions are identical, so no sense in having the
> duplication. I resisted the temptation to replace calls to
> virNetDevMacVLanDelete() with calls to virNetlinkDelLink() just in
> case some mythical future platform has macvtap devices that aren't
> managed with netlink (or in case we some day need to do more than just
> tell the kernel to delete the device).
> ---
>  src/util/virnetdevmacvlan.c | 67 ++-------------------------------------------
>  1 file changed, 2 insertions(+), 65 deletions(-)
> 

ACK -

John




More information about the libvir-list mailing list