Re: [libvirt] [PATCH V4 3/5] add nodeGetCPUmap.

2012-02-02 Thread KAMEZAWA Hiroyuki
On Tue, 31 Jan 2012 17:58:17 +0800 Hu Tao hu...@cn.fujitsu.com wrote: + +/** + * virBitmapParseCommaSeparatedFormat: + * + * When bitmap is printed in ascii format, expecially in Linux, s/expecially/especially/ + * comma-separated format is sometimes used. For example, a bitmap

Re: [libvirt] [PATCH V4 3/5] add nodeGetCPUmap.

2012-01-31 Thread Hu Tao
On Sat, Jan 28, 2012 at 03:24:04PM +0900, KAMEZAWA Hiroyuki wrote: add nodeGetCPUmap() for getting available CPU IDs in a bitmap. add virBitmapParseCommaSeparetedFormat() for parsing bitmap in comma separeted ascii format. This format of bitmap is used in Linux sysfs and cpuset. * cpuacct's

[libvirt] [PATCH V4 3/5] add nodeGetCPUmap.

2012-01-27 Thread KAMEZAWA Hiroyuki
add nodeGetCPUmap() for getting available CPU IDs in a bitmap. add virBitmapParseCommaSeparetedFormat() for parsing bitmap in comma separeted ascii format. This format of bitmap is used in Linux sysfs and cpuset. * cpuacct's percpu usage information is provided based on