|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH 3/5] Xen backing for XEN_DOMCTL_set_opt_feature
Provide Xen/ia64 backing for XEN_DOMCTL_set_opt_feature.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
diff -r 98defc4f3bf9 xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c Mon Nov 26 10:07:30 2007 -0700
+++ b/xen/arch/ia64/xen/dom0_ops.c Tue Nov 27 16:48:09 2007 -0700
@@ -343,6 +342,20 @@ long arch_do_domctl(xen_domctl_t *op, XE
}
break;
+ case XEN_DOMCTL_set_opt_feature:
+ {
+ struct xen_ia64_opt_feature *optf = &op->u.set_opt_feature.optf;
+ struct domain *d = get_domain_by_id(op->domain);
+
+ if (d == NULL) {
+ ret = -EINVAL;
+ break;
+ }
+
+ ret = domain_opt_feature(d, optf);
+ }
+ break;
+
default:
printk("arch_do_domctl: unrecognized domctl: %d!!!\n",op->cmd);
ret = -ENOSYS;
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-ia64-devel] [PATCH 3/5] Xen backing for XEN_DOMCTL_set_opt_feature,
Alex Williamson <=
|
|
|
|
|