[IA64] Provide backing for XEN_DOMCTL_set_opt_feature

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
This commit is contained in:
Alex Williamson committed 2007-11-29 12:01:44 -07:00
1 parent 13511bb02a
commit d1ecffb2a9
1 file changed
+14
+14
View File
@@ -343,6 +343,20 @@ long arch_do_domctl(xen_domctl_t *op, XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
}
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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.