From: Ian Jackson Subject: Re: [PATCH v3 04/19] libxl: introduce vNUMA types Date: Tue, 13 Jan 2015 15:40:43 +0000 Message-ID: <21685.15483.198775.210458@mariner.uk.xensource.com> References: <1421151107-20842-1-git-send-email-wei.liu2@citrix.com> <1421151107-20842-5-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421151107-20842-5-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: dario.faggioli@citrix.com, Elena Ufimtseva , Ian Campbell , jbeulich@suse.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("[PATCH v3 04/19] libxl: introduce vNUMA types"): > A domain can contain several virtual NUMA nodes, hence we introduce an > array in libxl_domain_build_info. > > libxl_vnode_info contains the size of memory in that node, the distance > from that node to every nodes, the underlying pnode and a bitmap of > vcpus. ... > +libxl_vnode_info = Struct("vnode_info", [ > + ("mem", uint64), # memory size of this node, in MiB > + ("distances", Array(uint32, "num_distances")), # distances from this node to other nodes > + ("pnode", uint32), # physical node of this node > + ("vcpus", libxl_bitmap), # vcpus in this node > + ]) Can you please document the defaults ? It's probably tolerable to have that in the xl documentation (only) so maybe it should go in 19/19. Thanks, Ian.