OBS User unknown 2007-02-22 13:55:08 +00:00 committed by Git OBS Bridge
parent 44b305a3f0
commit 39a4f201bc
5 changed files with 57 additions and 5 deletions

View File

@ -0,0 +1,34 @@
---
xen/common/domctl.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
Index: build-32-release304-13138/xen/common/domctl.c
===================================================================
--- build-32-release304-13138.orig/xen/common/domctl.c
+++ build-32-release304-13138/xen/common/domctl.c
@@ -708,12 +708,21 @@ ret_t do_domctl(XEN_GUEST_HANDLE(xen_dom
#ifdef CONFIG_COMPAT
case XEN_DOMCTL_set_compat:
- ret = switch_compat(find_domain_by_id(op->domain));
- break;
-
case XEN_DOMCTL_set_native:
- ret = switch_native(find_domain_by_id(op->domain));
+ {
+ struct domain *d;
+
+ ret = -ESRCH;
+ d = find_domain_by_id(op->domain);
+ if (d) {
+ if (op->cmd == XEN_DOMCTL_set_compat)
+ ret = switch_compat(d);
+ else
+ ret = switch_native(d);
+ put_domain(d);
+ }
break;
+ }
#endif
default:

View File

@ -279,7 +279,7 @@ stop()
printed=1
if [ "$XENDOMAINS_AUTO_ONLY" = "true" ]; then
is_auto_domain=0
for n in "${AUTNAMES[@]}"; do
for n in "${AUTONAMES[@]}"; do
if [ "$name" = "$n" ]; then
is_auto_domain=1
break

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:134bf952b2af34e4463047117344f82cfada3a791e61443c71b36f2be49ac4d9
size 124324
oid sha256:3253fba32b807e1dbcbc7a3622682790f2fb76a6a09f513975961c8ca43b38e1
size 124352

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Feb 20 13:53:22 MST 2007 - carnold@novell.com
- Domain0 reboots after 2-6 hours of running guests. (#246160)
-------------------------------------------------------------------
Tue Feb 20 12:49:36 MST 2007 - ccoffing@novell.com
- Fix typo in xendomains. (#246107)
- Fix order in which vm-install processes command-line arguments.
-------------------------------------------------------------------
Fri Feb 16 18:07:09 MST 2007 - jfehlig@novell.com

View File

@ -30,7 +30,7 @@ BuildRequires: glibc-32bit glibc-devel-32bit
BuildRequires: kernel-source kernel-syms xorg-x11
%endif
Version: 3.0.4_13138
Release: 4
Release: 5
License: GNU General Public License (GPL)
Group: System/Kernel
Autoreqprov: on
@ -173,7 +173,8 @@ Patch213: svm_cpuid_ffxsr_13743.patch
Patch214: 13630-domctl.patch
Patch215: 13903-domctl.patch
Patch216: 13908-domctl.patch
Patch217: x86-nmi-inject.patch
Patch217: bugfix-246160-domctl.patch
Patch218: x86-nmi-inject.patch
# pv driver building
Patch250: pv-driver-build.patch
# Jim' Xen API patches
@ -689,6 +690,7 @@ cd ..
%patch215 -p1
%patch216 -p1
%patch217 -p1
%patch218 -p1
%patch250 -p1
%patch270 -p1
%patch271 -p1
@ -1030,6 +1032,11 @@ rm -f $RPM_BUILD_ROOT/%pysite/*.egg-info
%{insserv_cleanup}
%changelog
* Tue Feb 20 2007 - carnold@novell.com
- Domain0 reboots after 2-6 hours of running guests. (#246160)
* Tue Feb 20 2007 - ccoffing@novell.com
- Fix typo in xendomains. (#246107)
- Fix order in which vm-install processes command-line arguments.
* Fri Feb 16 2007 - jfehlig@novell.com
- Added changeset 13775 from xen-unstable. This patch fixes
the last known issue with the Xen API patchset backported