aboutsummaryrefslogtreecommitdiff
path: root/include/vki
diff options
context:
space:
mode:
authorbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-06-28 16:31:54 +0000
committerbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-06-28 16:31:54 +0000
commit0364d0cd12abd195efa048c941fbf4a3300e8b81 (patch)
tree47bcc227eb9deae37349b3eebc20ea454d8ad29d /include/vki
parentf3407d1ae143999f07d14e80b868e99cf21e1e00 (diff)
downloadvalgrind-0364d0cd12abd195efa048c941fbf4a3300e8b81.tar.gz
xen: Add support for new sysctl and domctl interface versions
The change causing the sysctl bump is not in an implemented subop yet, so no change is required. The change causing the domctl bump is in an implemented subop, but has also been reverted in favor of a different way of performing the same actions. Therefore, there is no net difference. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15365 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/vki')
-rw-r--r--include/vki/vki-xen-domctl.h9
-rw-r--r--include/vki/vki-xen-sysctl.h11
2 files changed, 14 insertions, 6 deletions
diff --git a/include/vki/vki-xen-domctl.h b/include/vki/vki-xen-domctl.h
index b5037f202..f90583f50 100644
--- a/include/vki/vki-xen-domctl.h
+++ b/include/vki/vki-xen-domctl.h
@@ -5,9 +5,10 @@
* The domctl interface is versioned via the interface_version
* field. This structures in this header supports domctl interfaces:
*
- * - 00000007: Xen 4.1
- * - 00000008: Xen 4.2
- * - 00000009: Xen 4.3
+ * - 0x00000007: Xen 4.1
+ * - 0x00000008: Xen 4.2
+ * - 0x00000009: Xen 4.3 & 4.4
+ * - 0x0000000a: Xen 4.5
*
* When adding a new subop be sure to include the variants used by all
* of the above, both here and in syswrap-xen.c
@@ -156,6 +157,8 @@ struct vki_xen_domctl_getdomaininfo_00000009 {
typedef struct vki_xen_domctl_getdomaininfo_00000009 vki_xen_domctl_getdomaininfo_00000009_t;
DEFINE_VKI_XEN_GUEST_HANDLE(vki_xen_domctl_getdomaininfo_00000009_t);
+/* vki_xen_domctl_getdomaininfo_0000000a is the same as 00000009 */
+
/* Get/set the NUMA node(s) with which the guest has affinity with. */
/* XEN_DOMCTL_setnodeaffinity */
/* XEN_DOMCTL_getnodeaffinity */
diff --git a/include/vki/vki-xen-sysctl.h b/include/vki/vki-xen-sysctl.h
index 1621b7abe..8f4eac124 100644
--- a/include/vki/vki-xen-sysctl.h
+++ b/include/vki/vki-xen-sysctl.h
@@ -5,9 +5,10 @@
* The sysctl interface is versioned via the interface_version
* field. This structures in this header supports sysctl interfaces:
*
- * - 00000008: Xen 4.1
- * - 00000009: Xen 4.2
- * - 0000000a: Xen 4.3
+ * - 0x00000008: Xen 4.1
+ * - 0x00000009: Xen 4.2
+ * - 0x0000000a: Xen 4.3 & 4.4
+ * - 0x0000000b: Xen 4.5
*
* When adding a new subop be sure to include the variants used by all
* of the above, both here and in syswrap-xen.c
@@ -86,6 +87,8 @@ struct vki_xen_sysctl_getdomaininfolist_0000000a {
vki_uint32_t num_domains;
};
+/* vki_xen_sysctl_getdomaininfolist_0000000b is the same as 0000000a */
+
#define VKI_XEN_SYSCTL_CPUPOOL_OP_CREATE 1 /* C */
#define VKI_XEN_SYSCTL_CPUPOOL_OP_DESTROY 2 /* D */
#define VKI_XEN_SYSCTL_CPUPOOL_OP_INFO 3 /* I */
@@ -156,6 +159,8 @@ struct vki_xen_sysctl_physinfo_0000000a {
vki_uint32_t capabilities;
};
+/* vki_xen_sysctl_physinfo_0000000b is the same as 0000000a */
+
struct vki_xen_sysctl_sched_id {
/* OUT variable. */
vki_uint32_t sched_id;