[Libvir] [PATCH] Topology fix for "no cpus"

beth kon eak at us.ibm.com
Fri Oct 5 19:55:14 UTC 2007


I was able to test on a 128-way NUMA box and found a bug. My code did 
not handle the case of no cpus being associated with a node. I decided 
to represent (pretty straightforward decision :-) no cpus as follows in 
the xml...


<cell id='2'>
        <cpus num='0'>
        </cpus>
      </cell>

Here is the patch...

Signed-off-by: Beth Kon <eak at us.ibm.com>





-- 
Elizabeth Kon (Beth)
IBM Linux Technology Center
Open Hypervisor Team
email: eak at us.ibm.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nocpu.patch
Type: text/x-patch
Size: 1279 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071005/e1925b4e/attachment-0001.bin>


More information about the libvir-list mailing list