OBS User unknown 2007-09-10 22:49:08 +00:00 committed by Git OBS Bridge
parent 1e7aaafcb1
commit 12afd35016
3 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 10 10:02:36 MDT 2007 - jfehlig@novell.com
- #289283: Fix memory leak in xend
-------------------------------------------------------------------
Fri Sep 7 14:17:11 MDT 2007 - jfehlig@novell.com

View File

@ -34,7 +34,7 @@ BuildRequires: glibc-32bit glibc-devel-32bit
BuildRequires: kernel-source kernel-syms module-init-tools xorg-x11
%endif
Version: 3.1.0_15042
Release: 41
Release: 42
License: GPL v2 only
Group: System/Kernel
Autoreqprov: on
@ -158,6 +158,7 @@ Patch154: pci-passthru-reboot-fix.patch
Patch155: keymap_nl-be.patch
Patch156: svm-cr8-performance.diff
Patch157: hvm_vnc.diff
Patch158: xend_mem_leak.diff
# Patches from Jan
Patch200: inval-sh-ldt.patch
Patch201: 32on64-cpuid.patch
@ -661,6 +662,7 @@ Authors:
%patch155 -p1
%patch156 -p1
%patch157 -p1
%patch158 -p1
%patch200 -p1
%patch201 -p1
%patch202 -p1
@ -1003,6 +1005,8 @@ rm -f $RPM_BUILD_ROOT/%pysite/*.egg-info
/sbin/ldconfig
%changelog
* Mon Sep 10 2007 - jfehlig@novell.com
- #289283: Fix memory leak in xend
* Fri Sep 07 2007 - jfehlig@novell.com
- #297125: Expose 'type vnc' in vfb device sexp for HVM guests.
* Thu Sep 06 2007 - ccoffing@novell.com

11
xend_mem_leak.diff Normal file
View File

@ -0,0 +1,11 @@
diff -ru a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py 2007-09-10 09:54:03.000000000 -0600
+++ b/tools/python/xen/xend/XendDomain.py 2007-09-10 09:55:46.000000000 -0600
@@ -1066,6 +1066,7 @@
log.info("Domain %s (%s) deleted." %
(dominfo.getName(), dominfo.info.get('uuid')))
+ dominfo.metrics.destroy()
self._managed_domain_unregister(dominfo)
self._remove_domain(dominfo)
XendDevices.destroy_device_state(dominfo)