summaryrefslogtreecommitdiffstats
path: root/include/xen/interface/xen.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-07-06 07:00:28 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2016-07-06 10:42:13 +0100
commit7ba8dba95cb227eb6c270b1aa77f942e45f5e47c (patch)
tree9d906d111b4db30452a0ea0cac43ea500d950d47 /include/xen/interface/xen.h
parent1ad6344acfbf19288573b4a5fa0b07cbb5af27d7 (diff)
downloadop-kernel-dev-7ba8dba95cb227eb6c270b1aa77f942e45f5e47c.zip
op-kernel-dev-7ba8dba95cb227eb6c270b1aa77f942e45f5e47c.tar.gz
xen: update xen headers
Update some Xen headers to be able to use new functionality. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'include/xen/interface/xen.h')
-rw-r--r--include/xen/interface/xen.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index d133112..1b0d189 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -413,7 +413,22 @@ DEFINE_GUEST_HANDLE_STRUCT(mmuext_op);
/* x86/PAE guests: support PDPTs above 4GB. */
#define VMASST_TYPE_pae_extended_cr3 3
-#define MAX_VMASST_TYPE 3
+/*
+ * x86 guests: Sane behaviour for virtual iopl
+ * - virtual iopl updated from do_iret() hypercalls.
+ * - virtual iopl reported in bounce frames.
+ * - guest kernels assumed to be level 0 for the purpose of iopl checks.
+ */
+#define VMASST_TYPE_architectural_iopl 4
+
+/*
+ * All guests: activate update indicator in vcpu_runstate_info
+ * Enable setting the XEN_RUNSTATE_UPDATE flag in guest memory mapped
+ * vcpu_runstate_info during updates of the runstate information.
+ */
+#define VMASST_TYPE_runstate_update_flag 5
+
+#define MAX_VMASST_TYPE 5
#ifndef __ASSEMBLY__
OpenPOWER on IntegriCloud