[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/libvirt/devel libvirt-0.2.0-config-load.patch, NONE, 1.1 libvirt.spec, 1.47, 1.48



Author: berrange

Update of /cvs/dist/rpms/libvirt/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31212

Modified Files:
	libvirt.spec 
Added Files:
	libvirt-0.2.0-config-load.patch 
Log Message:
Fix config file loading

libvirt-0.2.0-config-load.patch:
 conf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE libvirt-0.2.0-config-load.patch ---
diff -rup libvirt-0.2.0/qemud/conf.c libvirt-0.2.0-new/qemud/conf.c
--- libvirt-0.2.0/qemud/conf.c	2007-02-23 14:16:35.000000000 -0500
+++ libvirt-0.2.0-new/qemud/conf.c	2007-02-23 14:16:25.000000000 -0500
@@ -1634,9 +1634,9 @@ int qemudScanConfigDir(struct qemud_serv
 
 /* Scan for all guest and network config files */
 int qemudScanConfigs(struct qemud_server *server) {
-    if (qemudScanConfigDir(server, server->configDir, 0) < 0)
+    if (qemudScanConfigDir(server, server->configDir, 1) < 0)
         return -1;
-    return qemudScanConfigDir(server, server->networkConfigDir, 1);
+    return qemudScanConfigDir(server, server->networkConfigDir, 0);
 }
 
 /* Simple grow-on-demand string buffer */


Index: libvirt.spec
===================================================================
RCS file: /cvs/dist/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- libvirt.spec	16 Feb 2007 22:08:59 -0000	1.47
+++ libvirt.spec	23 Feb 2007 19:38:06 -0000	1.48
@@ -3,7 +3,7 @@
 Summary: Library providing an API to use the Xen virtualization
 Name: libvirt
 Version: 0.2.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPL
 Group: Development/Libraries
 Source: libvirt-%{version}.tar.gz
@@ -34,6 +34,9 @@
 # QEMU 0.9.0 wants a : in front of the port number now :-(
 Patch4: libvirt-0.2.0-vnc-port.patch
 
+# Fix loading of network & guest configs
+Patch5: libvirt-0.2.0-config-load.patch
+
 %description
 This C library provides an API to use the Xen virtualization framework,
 and the virsh command line tool to control virtual domains.
@@ -66,6 +69,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %configure
@@ -133,6 +137,9 @@
 %doc docs/examples/python
 
 %changelog
+* Fri Feb 23 2007 Daniel P. Berrange <berrange redhat com> - 0.2.0-4.fc7
+- Fix loading of guest & network configs
+
 * Fri Feb 16 2007 Daniel P. Berrange <berrange redhat com> - 0.2.0-3.fc7
 - Disable kqemu support since its not in Fedora qemu binary
 - Fix for -vnc arg syntax change in 0.9.0  QEMU


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]