rpms/xen/devel xen-misc-fixes.patch,1.14,1.15 xen.spec,1.36,1.37
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sun Apr 3 16:31:25 UTC 2005
Update of /cvs/dist/rpms/xen/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6574
Modified Files:
xen-misc-fixes.patch xen.spec
Log Message:
fix context switch between vcpus in same domain, vcpus > cpus works again
xen-misc-fixes.patch:
tools/libxutil/iostream.h | 12 ++++++------
tools/xfrd/xen_domain.c | 3 ++-
xen/arch/x86/domain.c | 9 ++++++---
3 files changed, 14 insertions(+), 10 deletions(-)
Index: xen-misc-fixes.patch
===================================================================
RCS file: /cvs/dist/rpms/xen/devel/xen-misc-fixes.patch,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xen-misc-fixes.patch 1 Apr 2005 03:38:40 -0000 1.14
+++ xen-misc-fixes.patch 3 Apr 2005 16:31:22 -0000 1.15
@@ -66,3 +66,24 @@
printf("\n");
return 0;
}
+--- xen-unstable/xen/arch/x86/domain.c.smp 2005-04-03 12:16:12.000000000 -0400
++++ xen-unstable/xen/arch/x86/domain.c 2005-04-03 12:17:59.000000000 -0400
+@@ -802,12 +802,15 @@ static void __context_switch(void)
+ #endif
+ }
+
+- set_bit(cpu, &n->domain->cpuset);
+- write_ptbase(n);
+- clear_bit(cpu, &p->domain->cpuset);
++ if ( p->domain != n->domain )
++ set_bit(cpu, &n->domain->cpuset);
+
++ write_ptbase(n);
+ __asm__ __volatile__ ( "lgdt %0" : "=m" (*n->arch.gdt) );
+
++ if ( p->domain != n->domain )
++ clear_bit(cpu, &p->domain->cpuset);
++
+ percpu_ctxt[cpu].curr_ed = n;
+ }
+
Index: xen.spec
===================================================================
RCS file: /cvs/dist/rpms/xen/devel/xen.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- xen.spec 2 Apr 2005 23:18:02 -0000 1.36
+++ xen.spec 3 Apr 2005 16:31:22 -0000 1.37
@@ -3,7 +3,7 @@
Summary: Xen is a virtual machine monitor
Name: xen
Version: 2
-Release: 20050402
+Release: 20050403
Group: Development/Libraries
License: GPL
URL: http://www.sourceforge.net/projects/xen/
@@ -96,6 +96,9 @@
%{_sysconfdir}/%{name}*
%changelog
+* Sun Apr 3 2005 Rik van Riel <riel at redhat.com> 2-20050403
+- fix context switch between vcpus in same domain, vcpus > cpus works again
+
* Sat Apr 2 2005 Rik van Riel <riel at redhat.com> 2-20050402
- move initscripts to /etc/rc.d/init.d (Florian La Roche) (#153188)
- ship only PDF documentation, not the PS or tex duplicates
More information about the fedora-cvs-commits
mailing list