]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add a way to return FDs to the RPC caller
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Dec 2012 14:18:28 +0000 (14:18 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jan 2013 08:56:49 +0000 (08:56 +0000)
commit3fd121c170b8d2fcd78f367d036bde0632c6828c
treebce9de68d7b84aa6d0d10cb00a535fda80b06619
parent18937c3ae0990b4417a43aa07a2c35aaf8cb6ec2
Add a way to return FDs to the RPC caller

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@redhat.com>
src/rpc/virnetserverprogram.c