All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: Re: [Xen-changelog] [xen-unstable] libxc: Clean up xc_map_foreign_ranges() interface to hide the
Date: Wed, 23 Jul 2008 17:02:49 +0100	[thread overview]
Message-ID: <20080723160249.GQ4454@implementation.uk.xensource.com> (raw)
In-Reply-To: <20080723155940.GP4454@implementation.uk.xensource.com>

Samuel Thibault, le Wed 23 Jul 2008 16:59:41 +0100, a écrit :
> Xen patchbot-unstable, le Wed 23 Jul 2008 08:50:44 -0700, a écrit :
> > diff -r 351ce3b94e2d -r 7299346111fb tools/libxc/xc_private.h
> > --- a/tools/libxc/xc_private.h	Wed Jul 23 13:31:57 2008 +0100
> > +++ b/tools/libxc/xc_private.h	Wed Jul 23 16:39:46 2008 +0100
> > @@ -184,8 +184,9 @@ static inline int do_sysctl(int xc_handl
> >      return ret;
> >  }
> >  
> > -int xc_map_foreign_ranges(int xc_handle, uint32_t dom,
> > -                          privcmd_mmap_entry_t *entries, int nr);
> > +void *xc_map_foreign_ranges(int xc_handle, uint32_t dom,
> > +                            size_t size, int prot, size_t chunksize,
> > +                            privcmd_mmap_entry_t entries[], int nentries);
> 
> Mmm, why chunksize?  Shouldn't entries[] provide it, for a more powerful
> interface (each entry can have a different size)?

Also, the size argument is redundant.

Samuel

      reply	other threads:[~2008-07-23 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200807231550.m6NFoicJ028399@xenbits.xensource.com>
2008-07-23 15:59 ` [Xen-changelog] [xen-unstable] libxc: Clean up xc_map_foreign_ranges() interface to hide the Samuel Thibault
2008-07-23 16:02   ` Samuel Thibault [this message]

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=20080723160249.GQ4454@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.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.