[xen-unstable] [IA64] Create XEN_DOMCTL_set_opt_feature

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen-unstable] [IA64] Create XEN_DOMCTL_set_opt_feature

Xen patchbot-unstable
# HG changeset patch
# User Alex Williamson <[hidden email]>
# Date 1196362643 25200
# Node ID 1de4e50563947c22571e928ae10900dde0e9b583
# Parent  ad5fa636bc4ef33830576bd3e7016c53267fed82
[IA64] Create XEN_DOMCTL_set_opt_feature

Intended for domain builder code to be able to set architecture
specific optimization features for a domain.

Signed-off-by: Alex Williamson <[hidden email]>
Acked-by: Keir Fraser <[hidden email]>
---
 xen/include/public/domctl.h |   12 ++++++++++++
 1 files changed, 12 insertions(+)

diff -r ad5fa636bc4e -r 1de4e5056394 xen/include/public/domctl.h
--- a/xen/include/public/domctl.h Thu Nov 29 11:54:31 2007 -0700
+++ b/xen/include/public/domctl.h Thu Nov 29 11:57:23 2007 -0700
@@ -539,6 +539,17 @@ typedef struct xen_domctl_ext_vcpucontex
 typedef struct xen_domctl_ext_vcpucontext xen_domctl_ext_vcpucontext_t;
 DEFINE_XEN_GUEST_HANDLE(xen_domctl_ext_vcpucontext_t);
 
+/*
+ * Set optimizaton features for a domain
+ */
+#define XEN_DOMCTL_set_opt_feature    44
+struct xen_domctl_set_opt_feature {
+#ifdef __ia64__
+    struct xen_ia64_opt_feature optf;
+#endif
+};
+typedef struct xen_domctl_set_opt_feature xen_domctl_set_opt_feature_t;
+DEFINE_XEN_GUEST_HANDLE(xen_domctl_set_opt_feature_t);
 
 struct xen_domctl {
     uint32_t cmd;
@@ -575,6 +586,7 @@ struct xen_domctl {
         struct xen_domctl_ioport_mapping    ioport_mapping;
         struct xen_domctl_pin_mem_cacheattr pin_mem_cacheattr;
         struct xen_domctl_ext_vcpucontext   ext_vcpucontext;
+        struct xen_domctl_set_opt_feature   set_opt_feature;
         uint8_t                             pad[128];
     } u;
 };

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog