mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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:
1 parent
72e4f39c3f
commit
990718d0bd
1 file changed
-5
@@ -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,
|
||||
|
||||