Re: [Qemu-devel] [PATCH v5 2/6] qapi: Introduce add-fd, remove-fd, query-fdsets

2012-07-25 Thread Corey Bryant
On 07/25/2012 02:16 PM, Eric Blake wrote: On 07/23/2012 07:08 AM, Corey Bryant wrote: This patch adds support that enables passing of file descriptors to the QEMU monitor where they will be stored in specified file descriptor sets. +## +# @add-fd: +# +# Add a file descriptor, that was passed

Re: [Qemu-devel] [PATCH v5 2/6] qapi: Introduce add-fd, remove-fd, query-fdsets

2012-07-25 Thread Eric Blake
On 07/23/2012 07:08 AM, Corey Bryant wrote: > This patch adds support that enables passing of file descriptors > to the QEMU monitor where they will be stored in specified file > descriptor sets. > > +## > +# @add-fd: > +# > +# Add a file descriptor, that was passed via SCM rights, to an fd set. >

[Qemu-devel] [PATCH v5 2/6] qapi: Introduce add-fd, remove-fd, query-fdsets

2012-07-23 Thread Corey Bryant
This patch adds support that enables passing of file descriptors to the QEMU monitor where they will be stored in specified file descriptor sets. A file descriptor set can be used by a client like libvirt to store file descriptors for the same file. This allows the client to open a file with diff