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

[Xen-changelog] [xen-unstable] [XEN] No need to change the compat mode of the guest in xen.



# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Date 1172659252 0
# Node ID 9edd8d7c9355c4c7af358322daf68720042f0ec7
# Parent  40dc331c44235359f2993c012381afc4cb9d263a
[XEN] No need to change the compat mode of the guest in xen.
The tools set the compat mode already explicitly.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 xen/common/domctl.c |    5 -----
 1 files changed, 5 deletions(-)

diff -r 40dc331c4423 -r 9edd8d7c9355 xen/common/domctl.c
--- a/xen/common/domctl.c       Wed Feb 28 09:44:59 2007 +0000
+++ b/xen/common/domctl.c       Wed Feb 28 10:40:52 2007 +0000
@@ -342,11 +342,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
         if ( (d = domain_create(dom, domcr_flags)) == NULL )
             break;
 
-#ifdef CONFIG_COMPAT
-        if ( IS_COMPAT(current->domain) && ((ret = switch_compat(d)) != 0) )
-            break;
-#endif
-
         ret = 0;
 
         memcpy(d->handle, op->u.createdomain.handle,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.