no/empty NUMA cells on domain XML

Daniel P. Berrangé berrange at redhat.com
Wed Jul 1 09:34:13 UTC 2020


On Wed, Jul 01, 2020 at 12:08:35PM +0300, Polina Agranat wrote:
> Hi ,
> 
> I'm looking for a possibility to simulate a VM (to be used as a host)
> reporting no or empty NUMA <cells> in 'virsh capabilities'. 'virsh
> capabilities' usually reports single NUMA in the VMs,
> like
> <numa>
> <cell id='0' cpus='0-63' memory='16777216' unit='KiB'/>
> </numa>

If the "host" doesn't report any NUMA topology, the libvirt will always
synthesize a single NUMA cell. So there is no scenario in which the
<numa> info will be empty with current generation libvirt.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list