On 10/25/2011 10:03 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange"<berrange@xxxxxxxxxx> The RPC server classes are extended to allow FDs to be received from clients with calls. There is not currently any way for a procedure to pass FDs back to the client with replies * daemon/remote.c, src/rpc/gendispatch.pl: Change virNetMessageHeaderPtr param to virNetMessagePtr in dispatcher impls * src/rpc/virnetserver.c, src/rpc/virnetserverclient.c, src/rpc/virnetserverprogram.c, src/rpc/virnetserverprogram.h: Extend to support FD passing --- daemon/remote.c | 125 +++++++++++++++++++++++++++-------------- src/libvirt_private.syms | 1 + src/remote/remote_protocol.x | 2 +- src/rpc/gendispatch.pl | 12 ++-- src/rpc/virnetserver.c | 3 +- src/rpc/virnetserverclient.c | 24 ++++++++ src/rpc/virnetserverprogram.c | 29 +++++++++- src/rpc/virnetserverprogram.h | 2 +- 8 files changed, 143 insertions(+), 55 deletions(-)
ACK. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list