
This patch updates the client end to use XDR for making requests to the QEMU daemon. The bulk of the patch is basically a simple string replacement to deal with slightly different struct/union nesting & names. The interesting bit of the code is that which actually converts from the qemud_packet_client / qemud_packet_server to the XDR encoded data on the wire. This is, IMHO, much clearer to understand now that its using the XDR routines, although its hard to see this from the diff. Better to look at the two complete impls side-by-side to see the difference. $ diffstat libvirt-qemu-xdr-client.patch Makefile.am | 11 - internal.h | 2 qemu_internal.c | 593 +++++++++++++++++++++++++++++--------------------------- 3 files changed, 327 insertions(+), 279 deletions(-) Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|