[Pkg-libvirt-maintainers] Bug#648323: Bug#648323: Libvirt does not support numa

Guido Günther agx at sigxcpu.org
Sat Nov 12 06:50:32 UTC 2011


tags 648323 +pending
thanks

Hi Ralf,

On Fri, Nov 11, 2011 at 10:27:19AM +0100, Ralf Spenneberg wrote:
> Hi Guido,
> 
> Am Donnerstag, den 10.11.2011, 18:13 +0100 schrieb Guido Günther:
> > I think if virt-manager works correctly this python bindings should be
> > o.k. IIRC it broke the build so if you're running it already it should
> > be o.k. 
> Yes virt-manager works fine.
> > I also remember that the numa support broke qemu:///session 
> I connected via virt-manager to qemu:///session as unprivileged user and
> created several machines, started them and then connected via virsh,
> rechecked the machines and stop them. Everything works fine. No error
> messages on the console. True for both numa-capable and not numa-aware
> hardare.
> 
> > and
> > spewed warnings on the console for non numa systems.
> Using the libraries on a machine without numa support does not create
> any warnings when using the appropriate commands:
> 
> # LANG=C virsh nodeinfo
> CPU model:           x86_64
> CPU(s):              4
> CPU frequency:       2327 MHz
> CPU socket(s):       1
> Core(s) per socket:  4
> Thread(s) per core:  1
> NUMA cell(s):        1
> Memory size:         32946132 kB
> 
> # LANG=C virsh freecell
> Total: 25699544 kB
> 
> # LANG=C virsh freecell 1
> error: internal error start cell 1 out of range (0-0)
> 
> The last error message is expected since there is no numa cell 1

I've put in a patch that enables numa support on plattforms we have a
libnuma1 for. Thanks a lot for testing!
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list