no/empty NUMA cells on domain XML

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> I appreciate if someone could advise Thank you Polina

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 :|

Thank you, Daniel, for the response. Polina On Wed, Jul 1, 2020 at 12:34 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
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 :|
participants (2)
-
Daniel P. Berrangé
-
Polina Agranat