aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/compat.h
diff options
context:
space:
mode:
authorEmmanuel Ackaouy <ack@xensource.com>2007-01-05 17:34:39 +0000
committerEmmanuel Ackaouy <ack@xensource.com>2007-01-05 17:34:39 +0000
commit97a138cbdd968113843f8a4ee91d42cc1fbd4cf9 (patch)
tree9231e9ffb7348f0ff522a7e47abc5b0b37ee5742 /xen/include/xen/compat.h
parenta6f33d81e1b8a2012ea6b34387ef59d6f4bec2b1 (diff)
downloadxen-97a138cbdd968113843f8a4ee91d42cc1fbd4cf9.tar.gz
xen-97a138cbdd968113843f8a4ee91d42cc1fbd4cf9.tar.bz2
xen-97a138cbdd968113843f8a4ee91d42cc1fbd4cf9.zip
Enable compatibility mode operation for HYPERVISOR_domctl. Also add logic
to switch a domain to/from compatibility mode (supposed to happen early after domain creation only). Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/compat.h')
-rw-r--r--xen/include/xen/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/compat.h b/xen/include/xen/compat.h
index d5b733ec58..06771a1c23 100644
--- a/xen/include/xen/compat.h
+++ b/xen/include/xen/compat.h
@@ -166,6 +166,9 @@ void xlat_start_info(struct start_info *, enum XLAT_start_info_console);
struct vcpu_runstate_info;
void xlat_vcpu_runstate_info(struct vcpu_runstate_info *);
+int switch_compat(struct domain *);
+int switch_native(struct domain *);
+
#define BITS_PER_GUEST_LONG(d) (!IS_COMPAT(d) ? BITS_PER_LONG : COMPAT_BITS_PER_LONG)
#else