[libvirt] [PATCH 3/9] Add a way to return FDs to the RPC caller

Eric Blake eblake at redhat.com
Mon Jan 7 23:38:16 UTC 2013


On 12/21/2012 10:08 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Currently the libvirt client can pass FDs to the server, but the
> dispatch mechanism provides no way to return FDs back from the
> server to the client. Tweak the dispatch code, such that if a
> dispatcher returns '1', this indicates that it populated the
> virNetMessagePtr with FDs to return
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/rpc/virnetserverprogram.c | 21 ++++++++++++---------
>  1 file changed, 12 insertions(+), 9 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130107/9917493d/attachment-0001.sig>


More information about the libvir-list mailing list