From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH 0/9] Some (not only) cpupool related fixes and improvements Date: Fri, 06 Mar 2015 18:20:48 +0100 Message-ID: <20150306170758.7269.53821.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Juergen Gross , Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , Meng Xu List-Id: xen-devel@lists.xenproject.org Hi everyone, The main goal of this series is making it possible to specify ranges of pCPUs when manipulating (creating, adding/removing pCPUs) cpupools. Something like this: xl cpupool-cpu-remove Pool-node0 6-10 while, right now, only single pCPU IDs can be specified, which means that, to achieve the above, we need to do this: xl cpupool-cpu-remove Pool-node0 6 xl cpupool-cpu-remove Pool-node0 7 xl cpupool-cpu-remove Pool-node0 8 xl cpupool-cpu-remove Pool-node0 9 xl cpupool-cpu-remove Pool-node0 10 This is done in patches 5/9, 6/9 and 7/9. The series also add a new parameter to `xl list', '-c' or '--cpupool', which shows in which cpupool the domain(s) lives. Such information was not easy to find in any other way. One can use `xl sched-' and have, as a side effect, something similar, but that's rather impractical. Sample output for the new `xl list' can be found here: http://pastebin.com/qSagPimL This happens in patch 3/9 and 4/9. While there, the series includes some other, somewhat related, fixes of various kind. This is available as a git branch here: git://xenbits.xen.org/people/dariof/xen.git rel/cpupools/allow-ranges-v1 http://xenbits.xen.org/gitweb/?p=people/dariof/xen.git;a=shortlog;h=refs/heads/rel/cpupools/allow-ranges-v1 Thanks and Regards, Dario --- Dario Faggioli (9): 1/9 docs: RTDS is a valid alternative as a scheduler for a cpupool 2/9 docs: fix `xl list' manpage entry 3/9 xl: turn some int local variable into bool 4/9 xl: add -c/--cpupool option to `xl list' 5/9 libxl: introduce libxl_cpupool_cpu{add,remove}_cpumap() 6/9 xl: enable using ranges of pCPUs when manipulating cpupools 7/9 xl: enable using ranges of pCPUs when creating cpupools 8/9 xl: make error reporting of cpupool subcommands consistent 9/9 xl: use libxl_cpupoolinfo_list_free() in main_cpupoolnumasplit docs/man/xl.pod.1 | 33 +++++- docs/man/xlcpupool.cfg.pod.5 | 26 ++++- tools/examples/cpupool | 2 tools/libxl/libxl.c | 36 ++++++- tools/libxl/libxl.h | 4 + tools/libxl/xl_cmdimpl.c | 225 ++++++++++++++++++++++-------------------- tools/libxl/xl_cmdtable.c | 1 7 files changed, 209 insertions(+), 118 deletions(-) --