diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-04 22:20:05 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-04 22:20:05 +0100 |
commit | 4cd740cf56f0801f3a3d92cb8c5fb7d930b0dd27 (patch) | |
tree | 3c3cbcabb6adbed9cbb9ba48c47108d9afee63de /xen/common/sysctl.c | |
parent | df2edff1aa7db2c5a339401198a11fa1a6171434 (diff) | |
download | xen-4cd740cf56f0801f3a3d92cb8c5fb7d930b0dd27.tar.gz xen-4cd740cf56f0801f3a3d92cb8c5fb7d930b0dd27.tar.bz2 xen-4cd740cf56f0801f3a3d92cb8c5fb7d930b0dd27.zip |
cpupool: Control interface should be a sysctl rather than a domctl.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/sysctl.c')
-rw-r--r-- | xen/common/sysctl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index db27fc233c..51b0a8e414 100644 --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -318,6 +318,14 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) } break; + case XEN_SYSCTL_cpupool_op: + { + ret = cpupool_do_sysctl(&op->u.cpupool_op); + if ( (ret == 0) && copy_to_guest(u_sysctl, op, 1) ) + ret = -EFAULT; + } + break; + default: ret = arch_do_sysctl(op, u_sysctl); break; |