ia64/xen-unstable

changeset 16475:1de4e5056394

[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 <alex.williamson@hp.com>
Acked-by: Keir Fraser <keir.fraser@citrix.com>
author Alex Williamson <alex.williamson@hp.com>
date Thu Nov 29 11:57:23 2007 -0700 (2007-11-29)
parents ad5fa636bc4e
children 8d5487ca222f
files xen/include/public/domctl.h
line diff
     1.1 --- a/xen/include/public/domctl.h	Thu Nov 29 11:54:31 2007 -0700
     1.2 +++ b/xen/include/public/domctl.h	Thu Nov 29 11:57:23 2007 -0700
     1.3 @@ -539,6 +539,17 @@ struct xen_domctl_ext_vcpucontext {
     1.4  typedef struct xen_domctl_ext_vcpucontext xen_domctl_ext_vcpucontext_t;
     1.5  DEFINE_XEN_GUEST_HANDLE(xen_domctl_ext_vcpucontext_t);
     1.6  
     1.7 +/*
     1.8 + * Set optimizaton features for a domain
     1.9 + */
    1.10 +#define XEN_DOMCTL_set_opt_feature    44
    1.11 +struct xen_domctl_set_opt_feature {
    1.12 +#ifdef __ia64__
    1.13 +    struct xen_ia64_opt_feature optf;
    1.14 +#endif
    1.15 +};
    1.16 +typedef struct xen_domctl_set_opt_feature xen_domctl_set_opt_feature_t;
    1.17 +DEFINE_XEN_GUEST_HANDLE(xen_domctl_set_opt_feature_t);
    1.18  
    1.19  struct xen_domctl {
    1.20      uint32_t cmd;
    1.21 @@ -575,6 +586,7 @@ struct xen_domctl {
    1.22          struct xen_domctl_ioport_mapping    ioport_mapping;
    1.23          struct xen_domctl_pin_mem_cacheattr pin_mem_cacheattr;
    1.24          struct xen_domctl_ext_vcpucontext   ext_vcpucontext;
    1.25 +        struct xen_domctl_set_opt_feature   set_opt_feature;
    1.26          uint8_t                             pad[128];
    1.27      } u;
    1.28  };