Browse Source

libvirt 4.6.0 for ppc64

Signed-off-by: virtbuilder_pel7ppc64bebuilder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
a5119223d5
  1. 37
      SOURCES/libvirt-network-switch-function.patch
  2. 7
      SPECS/libvirt.spec

37
SOURCES/libvirt-network-switch-function.patch

@ -0,0 +1,37 @@ @@ -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

7
SPECS/libvirt.spec

@ -49,13 +49,18 @@ @@ -49,13 +49,18 @@

Summary: Library providing a simple virtualization API
Name: libvirt
Version: 4.5.0
Version: 4.6.0
Release: 1%{?dist}%{?extra_release}
License: LGPLv2+
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: https://libvirt.org/

%ifarch x86_64
Patch1: libvirt-network-bridge-function.patch
%endif
Patch2: libvirt-network-switch-function.patch

%if %(echo %{version} | grep -q "\.0$"; echo $?) == 1
%define mainturl stable_updates/
%endif

Loading…
Cancel
Save