I cloned
https://xenbits.xen.org/git-http/xen.git to find the cause (as
I can't init a VM with "error getting cpupool info") and found that
libxl_list_cpupool is aborting with said error due to
libxl_cpupoolinfo_init.
So I did a
grep -R "libxl_cpupoolinfo_init"
with follwoing result
tools/libs/light/libxl_dom.c: libxl_cpupoolinfo_init(&poolinfo);
tools/libs/light/libxl_dom.c: libxl_cpupoolinfo_init(&cpupool_info);
tools/libs/light/libxl_cpupool.c: libxl_cpupoolinfo_init(&info);
tools/libs/light/libxl_numa.c:
libxl_cpupoolinfo_init(&cpupool_info);
tools/golang/xenlight/helpers.gen.go:C.libxl_cpupoolinfo_init(&xc)
Where does the definition of libxl_cpupoolinfo_init reside? I tried
https://searchcode.com/?q=libxl_cpupoolinfo_init to find it but to no avail. I looked around in
https://gitlab.com/libvirt/libvirt to find a hint but could not find
anything.
The Voidlinux-Xen-package can be found here
https://github.com/void-linux/void-packages/compare/master...numerys:void-packages:master if someone is interested.
Any ideas what could trigger the error message?
Regards
Am Donnerstag, dem 16.11.2023 um 01:24 +0100 schrieb Goran:
> I boot a self compiled Xen 4.17.2 and Voidlinux 6.5.10_1,
>
> I have no error messages during boot. But when I enter
>
> # xl cpupool-list
>
> I get a
>
> error getting cpupool info
>
> I tried to create a custom cpupool
>
> # xl cpupool-create name=\"testing\"
> Using config file "command line"
> cpupool name: testing
> scheduler: credit2
> number of cpus: 0
> # xl cpupool-list
> error getting cpupool info
>
> What could be the cause?
>
> Regards
> Goran
>
>