]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu/lxc: plumb isolatedPort from config down through bridge attachment
authorLaine Stump <laine@redhat.com>
Thu, 13 Feb 2020 17:57:47 +0000 (12:57 -0500)
committerLaine Stump <laine@redhat.com>
Fri, 21 Feb 2020 04:13:15 +0000 (23:13 -0500)
commit2b8fd7334df62e760d22112cc960b46301d791fc
tree7bbbec4018fdc28027a8eb17d02d24275337af8e
parentde7c347d9b7c571f19ebe0e9af4c1025a7115b5f
qemu/lxc: plumb isolatedPort from config down through bridge attachment

This patch pushes the isolatedPort setting from the <interface> down
all the way to the callers of virNetDevBridgeAddPort(), and sets
BR_ISOLATED on the port (using virNetDevBridgePortSetIsolated()) after
the port has been successfully added to the bridge.

Signed-off-by: Laine Stump <laine@redhat.com>
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/bhyve/bhyve_command.c
src/conf/domain_conf.c
src/lxc/lxc_process.c
src/network/bridge_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_interface.c
src/util/virnetdevtap.c
src/util/virnetdevtap.h
tests/bhyvexml2argvmock.c