]> xenbits.xensource.com Git - people/dwmw2/xen.git/commit
tools/libxl: correct vcpu affinity output with sparse physical cpu map
authorJuergen Gross <jgross@suse.com>
Fri, 31 Aug 2018 15:22:04 +0000 (17:22 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 5 Sep 2018 10:21:26 +0000 (11:21 +0100)
commit2ec5339ec9218fbf1583fa85b74d1d2f15f1b3b8
treef22c207ee511e93817b57acac351095a58be06ac
parent30a970906038a4d360e1f7ee29ba80ef832dd78b
tools/libxl: correct vcpu affinity output with sparse physical cpu map

With not all physical cpus online (e.g. with smt=0) the output of hte
vcpu affinities is wrong, as the affinity bitmaps are capped after
nr_cpus bits, instead of using max_cpu_id.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xl/xl_vcpu.c