[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@xensource.com>
This commit is contained in:
Christian Limpach committed 2007-02-28 10:40:52 +00:00
1 parent 72e4f39c3f
commit 990718d0bd
1 file changed
-5
-5
View File
@@ -342,11 +342,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
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,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.