[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cpuboot problem


  • To: xen-users@xxxxxxxxxxxxx
  • From: Goran <g@xxxxxxxxxxxx>
  • Date: Thu, 16 Nov 2023 15:46:23 +0100
  • Delivery-date: Thu, 16 Nov 2023 14:41:11 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

The head problem is

# xl create test.cfg
Parsing config from test.cfg
libxl: error: libxl_create.c:1132:libxl__domain_config_setdefault:
Illegal pool specified: (null)

which I forgot to post here.

Am Donnerstag, dem 16.11.2023 um 15:14 +0100 schrieb Goran:
> 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
> > 
> > 
> 
> 
> 





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.