rpms/libvirt/devel libvirt-qemu.patch, NONE, 1.1 libvirt.spec, 1.59, 1.60
Daniel Veillard (veillard)
fedora-extras-commits at redhat.com
Thu Jul 26 15:36:28 UTC 2007
- Previous message: rpms/libopensync-plugin-synce/devel libopensync-plugin-synce-autotools.patch, NONE, 1.1 libopensync-plugin-synce.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/kdeutils/devel kdeutils-3.5.7-klaptopdaemon_libXss.patch, 1.1, 1.2 kdeutils.spec, 1.90, 1.91
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: veillard
Update of /cvs/pkgs/rpms/libvirt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16789
Modified Files:
libvirt.spec
Added Files:
libvirt-qemu.patch
Log Message:
Fix for bug #249594, Daniel
libvirt-qemu.patch:
--- NEW FILE libvirt-qemu.patch ---
diff -rup libvirt-0.3.1.orig/src/qemu_conf.c libvirt-0.3.1.new/src/qemu_conf.c
--- libvirt-0.3.1.orig/src/qemu_conf.c 2007-07-24 11:06:38.000000000 -0400
+++ libvirt-0.3.1.new/src/qemu_conf.c 2007-07-26 10:22:09.000000000 -0400
@@ -1088,6 +1088,10 @@ static struct qemud_vm_def *qemudParseXM
if ((obj == NULL) || (obj->type != XPATH_STRING) ||
(obj->stringval == NULL) || (obj->stringval[0] == 0)) {
const char *defaultMachine = qemudDefaultMachineForArch(def->os.arch);
+ if (!defaultMachine) {
+ qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, "unsupported arch %s", def->os.arch);
+ goto error;
+ }
if (strlen(defaultMachine) >= (QEMUD_OS_MACHINE_MAX_LEN-1)) {
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, "%s", "machine type too long");
goto error;
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- libvirt.spec 25 Jul 2007 17:47:38 -0000 1.59
+++ libvirt.spec 26 Jul 2007 15:35:55 -0000 1.60
@@ -3,7 +3,7 @@
Summary: Library providing a simple API virtualization
Name: libvirt
Version: 0.3.1
-Release: 2%{?dist}%{?extra_release}
+Release: 3%{?dist}%{?extra_release}
License: LGPL
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
@@ -24,6 +24,7 @@
BuildRequires: gnutls-devel
Obsoletes: libvir
ExclusiveArch: i386 x86_64 ia64
+Patch0: libvirt-qemu.patch
%description
Libvirt is a C toolkit to interract with the virtualization capabilities
@@ -54,6 +55,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%configure --with-init-script=redhat --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid --with-remote-file=%{_localstatedir}/run/libvirtd.pid
@@ -165,6 +167,9 @@
%doc docs/examples/python
%changelog
+* Thu Jul 26 2007 Daniel Veillard <veillard at redhat.com> - 0.3.1-3.fc8
+- adds fix for bug #249594
+
* Wed Jul 25 2007 Jesse Keating <jkeating at redhat.com> - 0.3.1-2
- Rebuild for RH #249435
- Previous message: rpms/libopensync-plugin-synce/devel libopensync-plugin-synce-autotools.patch, NONE, 1.1 libopensync-plugin-synce.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/kdeutils/devel kdeutils-3.5.7-klaptopdaemon_libXss.patch, 1.1, 1.2 kdeutils.spec, 1.90, 1.91
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list