]> xenbits.xensource.com Git - libvirt.git/commit
Convert libvirtd over to the new RPC handling APIs
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 16 May 2011 17:13:11 +0000 (18:13 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 28 Jun 2011 16:33:19 +0000 (17:33 +0100)
commitdf0b57a95a767c33e9723428c77d0588dd25303b
tree2ff84c038e1ef45bb94645ee99ea2e81edfec49c
parentc1b226447781ba8367606f760dde6a88414382a3
Convert libvirtd over to the new RPC handling APIs

This guts the libvirtd daemon, removing all its networking and
RPC handling code. Instead it calls out to the new virServerPtr
APIs for all its RPC & networking work

As a fallout all libvirtd daemon error reporting now takes place
via the normal internal error reporting APIs. There is no need
to call separate error reporting APIs in RPC code, nor should
code use VIR_WARN/VIR_ERROR for reporting fatal problems anymore.

* daemon/qemu_dispatch_*.h, daemon/remote_dispatch_*.h: Remove
  old generated dispatcher code
* daemon/qemu_dispatch.h, daemon/remote_dispatch.h: New dispatch
  code
* daemon/dispatch.c, daemon/dispatch.h: Remove obsoleted code
* daemon/remote.c, daemon/remote.h: Rewrite for new dispatch
  APIs
* daemon/libvirtd.c, daemon/libvirtd.h: Remove all networking
  code
* daemon/stream.c, daemon/stream.h: Update for new APIs
* daemon/Makefile.am: Link to libvirt-net-rpc-server.la
15 files changed:
.gitignore
configure.ac
daemon/Makefile.am
daemon/dispatch.c [deleted file]
daemon/dispatch.h [deleted file]
daemon/libvirtd.c
daemon/libvirtd.h
daemon/remote.c
daemon/remote.h
daemon/stream.c
daemon/stream.h
po/POTFILES.in
src/rpc/gendispatch.pl
src/rpc/virnetmessage.c
src/rpc/virnetmessage.h