<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 4, 2016 at 12:18 PM, Andrea Bolognani <span dir="ltr"><<a href="mailto:abologna@redhat.com" target="_blank">abologna@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">n Mon, 2016-01-04 at 07:57 +0100, Michal Privoznik wrote:<br>
> On <a href="tel:23.12.2015%2017" value="+12312201517">23.12.2015 17</a>:14, Andrea Bolognani wrote:<br>
> > Hi all,<br>
> > <br>
> > libvirt currently doesn't allow you to configure a guest with something<br>
> > like<br>
> > <br>
> >   <cpu><br>
> >     <topology sockets='2' cores='5' threads='8'/><br>
> >     <numa><br>
> >       <cell id='0' cpus='0-39' memory='1048576' unit='KiB'/><br>
> >       <cell id='16' cpus='40-79' memory='1048576' unit='KiB'/><br>
> >     </numa><br>
> <br>
> This says you are configuring GUEST NUMA nodes, and last time I checked<br>
> qemu did not support non-continuous NUMA nodes. So, whatever your HOST<br>
> topology is, in GUEST you want NUMA nodes to be continuous.<br>
<br>
</span>I checked again and, as you and Daniel suggested, QEMU does not support<br>
non-contiguous NUMA nodes, eg.<br>
<br>
  qemu-kvm                                   \<br>
    -m 2048                                  \<br>
    -smp 80,sockets=2,cores=5,threads=8      \<br>
    -numa node,nodeid=0,cpus=0-39,mem=1024   \<br>
    -numa node,nodeid=16,cpus=40-79,mem=1024<br>
<br>
outputs<br>
<br>
  qemu-kvm: numa: Node ID missing: 15<br>
<br>
so indeed there's a very good reason for libvirt to reject that NUMA<br>
configuration.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div><br>Thanks you all for all the input. oVirt will follow this configuration limitation and enforce it then.<br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
Cheers.<br>
<br>
-- <br>
Andrea Bolognani<br>
Software Engineer - Virtualization Team<br>
</div></div></blockquote></div><br></div></div>