Tested with following interface config:
<interface type='bridge'>
<mac address='52:54:00:71:b9:b6'/>
<source bridge='clhbr0'/>
<model type='virtio'/>
</interface>
Signed-off-by: Praveen K Paladugu <praveenkpaladugu(a)gmail.com>
Signed-off-by: Praveen K Paladugu <prapal(a)linux.microsoft.com>
---
src/ch/ch_interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ch/ch_interface.c b/src/ch/ch_interface.c
index 47b02bc322..6f6724f960 100644
--- a/src/ch/ch_interface.c
+++ b/src/ch/ch_interface.c
@@ -79,6 +79,7 @@ virCHConnetNetworkInterfaces(virCHDriver *driver,
return -1;
break;
+ case VIR_DOMAIN_NET_TYPE_BRIDGE:
case VIR_DOMAIN_NET_TYPE_NETWORK:
if (virDomainInterfaceBridgeConnect(vm, net,
tapfds,
@@ -89,7 +90,6 @@ virCHConnetNetworkInterfaces(virCHDriver *driver,
NULL) < 0)
return -1;
break;
- case VIR_DOMAIN_NET_TYPE_BRIDGE:
case VIR_DOMAIN_NET_TYPE_DIRECT:
case VIR_DOMAIN_NET_TYPE_USER:
case VIR_DOMAIN_NET_TYPE_SERVER:
--
2.44.0