From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Veillard Subject: xc_domain_getinfolist() declaration Date: Mon, 24 Oct 2005 11:03:41 -0400 Message-ID: <20051024150341.GQ2580@redhat.com> Reply-To: veillard@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I would expect xc_domain_getinfolist() to just be an extended version of xc_domain_getinfo() but filling-up a range of xc_dominfo_t. However the declaration in xenctrl.h is int xc_domain_getinfolist(int xc_handle, uint32_t first_domain, unsigned int max_domains, xc_domaininfo_t *info); i.e. a different info pointer type than int xc_domain_getinfo(int xc_handle, uint32_t first_domid, unsigned int max_doms, xc_dominfo_t *info); is that a typo ? xc_domaininfo_t is defined as dom0_getdomaininfo_t which is a distinct type from xc_dominfo_t, with slightly different characteristics. Any reason for that disparity in the type returned between those two functions ? Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/