WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Provide backing for XEN_DOMCTL_set

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Provide backing for XEN_DOMCTL_set_opt_feature
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2007 05:40:27 -0800
Delivery-date: Wed, 05 Dec 2007 06:28:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1196362904 25200
# Node ID 8d5487ca222fb4f231246baee9a72fdce135ece5
# Parent  1de4e50563947c22571e928ae10900dde0e9b583
[IA64] Provide backing for XEN_DOMCTL_set_opt_feature

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom0_ops.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+)

diff -r 1de4e5056394 -r 8d5487ca222f xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c      Thu Nov 29 11:57:23 2007 -0700
+++ b/xen/arch/ia64/xen/dom0_ops.c      Thu Nov 29 12:01:44 2007 -0700
@@ -343,6 +343,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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Provide backing for XEN_DOMCTL_set_opt_feature, Xen patchbot-unstable <=