All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Veillard <veillard@redhat.com>
To: xen-devel@lists.xensource.com
Subject: xc_domain_getinfolist() declaration
Date: Mon, 24 Oct 2005 11:03:41 -0400	[thread overview]
Message-ID: <20051024150341.GQ2580@redhat.com> (raw)

 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/

             reply	other threads:[~2005-10-24 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24 15:03 Daniel Veillard [this message]
2005-10-24 19:27 ` xc_domain_getinfolist() declaration Anthony Liguori
2005-10-25  8:27   ` Daniel Veillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051024150341.GQ2580@redhat.com \
    --to=veillard@redhat.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.