virtbuilder_pel7ppc64bebuilder0
6 years ago
2 changed files with 43 additions and 1 deletions
@ -0,0 +1,37 @@ |
|||||||
|
From 5d0a3f05ad2d5d0e6e596817d8c7da7728ed22de Mon Sep 17 00:00:00 2001 |
||||||
|
From: virtbuilder_pel7ppc64bebuilder0 <virtbuilder@powerel.org> |
||||||
|
Date: Fri, 17 Aug 2018 12:38:44 +0200 |
||||||
|
Subject: [[GIT]] remove undefined functions |
||||||
|
Organization: PowerEL |
||||||
|
To: <email> |
||||||
|
Cc: <email> |
||||||
|
|
||||||
|
Signed-off-by: virtbuilder_pel7ppc64bebuilder0 <virtbuilder@powerel.org> |
||||||
|
--- |
||||||
|
src/network/bridge_driver.c | 4 ---- |
||||||
|
1 file changed, 4 deletions(-) |
||||||
|
|
||||||
|
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c |
||||||
|
index f92cc61..9613c82 100644 |
||||||
|
--- a/src/network/bridge_driver.c |
||||||
|
+++ b/src/network/bridge_driver.c |
||||||
|
@@ -4682,8 +4682,6 @@ networkAllocateActualDevice(virDomainDefPtr dom, |
||||||
|
/* NO need to check the value returned from virNetDevMacVLanModeTypeFromString |
||||||
|
* it must be valid for these forward type(bridge|private|vepa|passthrough) |
||||||
|
*/ |
||||||
|
- iface->data.network.actual->data.direct.mode = |
||||||
|
- virNetDevMacVLanModeTypeFromString(virNetworkForwardTypeToString(netdef->forward.type)); |
||||||
|
|
||||||
|
/* merge virtualports from interface, network, and portgroup to |
||||||
|
* arrive at actual virtualport to use |
||||||
|
@@ -4922,8 +4920,6 @@ networkNotifyActualDevice(virDomainDefPtr dom, |
||||||
|
if (STREQ_NULLABLE(master, "ovs-system")) { |
||||||
|
useOVS = true; |
||||||
|
VIR_FREE(master); |
||||||
|
- if (virNetDevOpenvswitchInterfaceGetMaster(iface->ifname, &master) < 0) |
||||||
|
- goto error; |
||||||
|
} |
||||||
|
|
||||||
|
if (STRNEQ_NULLABLE(netdef->bridge, master)) { |
||||||
|
-- |
||||||
|
2.17.1 |
Loading…
Reference in new issue