]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util:veth: Create veth device pair by netlink
authorShi Lei <shi_lei@massclouds.com>
Wed, 16 Dec 2020 06:01:05 +0000 (14:01 +0800)
committerLaine Stump <laine@redhat.com>
Wed, 16 Dec 2020 19:43:18 +0000 (14:43 -0500)
commit87502a35ae53642157b9f4e033ccf902e2e155bd
tree7d62d7e1f54ed3ec1e0c957c106420584df2a6c2
parent1e0e535b0261e7f8c3e8d4d97f7e2880d0eb05dd
util:veth: Create veth device pair by netlink

When netlink is supported, use netlink to create veth device pair
rather than 'ip link' command.

Signed-off-by: Shi Lei <shi_lei@massclouds.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/util/virnetdevveth.c