From: David Vrabel <david.vrabel@citrix.com>
To: David Vrabel <david.vrabel@citrix.com>, xen-devel@lists.xenproject.org
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [PATCHv4] xen/gntdev: add ioctl for grant copy
Date: Mon, 14 Dec 2015 14:21:55 +0000 [thread overview]
Message-ID: <566ED083.1010501@citrix.com> (raw)
In-Reply-To: <1448988229-16092-1-git-send-email-david.vrabel@citrix.com>
On 01/12/15 16:43, David Vrabel wrote:
> Add IOCTL_GNTDEV_GRANT_COPY to allow applications to copy between user
> space buffers and grant references.
>
> This interface is similar to the GNTTABOP_copy hypercall ABI except
> the local buffers are provided using a virtual address (instead of a
> GFN and offset). To avoid userspace from having to page align its
> buffers the driver will use two or more ops if required.
>
> If the ioctl returns 0, the application must check the status of each
> segment with the segments status field. If the ioctl returns a -ve
> error code (EINVAL or EFAULT), the status of individual ops is
> undefined.
Konrad, Boris, any comments?
David
next prev parent reply other threads:[~2015-12-14 14:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 16:43 [PATCHv4] xen/gntdev: add ioctl for grant copy David Vrabel
2015-12-14 14:21 ` David Vrabel [this message]
2015-12-14 15:28 ` Boris Ostrovsky
2016-01-06 16:16 ` David Vrabel
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=566ED083.1010501@citrix.com \
--to=david.vrabel@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=xen-devel@lists.xenproject.org \
/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.