[Libvir] [PATCH] Remote 5/8: Client-side QEMUD modifications

Richard W.M. Jones rjones at redhat.com
Sat May 5 11:35:21 UTC 2007


> 5 Client-side QEMUD modifications
> ---------------------------------
> 
> M src/qemu_internal.c

This is part of Dan's patch to refactor the QEMU daemon to use XDR 
instead of the current homebrew protocol.

http://www.redhat.com/archives/libvir-list/2007-March/msg00333.html

I have modified it in two ways:

(1) Get the max message size from remote_protocol.x

(2) Make the RPC format superficially compatible with the remote 
protocol, so that at least we can dispatch requests to either remote or 
QEMU based on the first two words.  All I did was swap around the 
"length" and "magic" fields.

Rich.

-- 
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-remote-5of8-20070505.patch
Type: text/x-patch
Size: 46933 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070505/313e97ef/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070505/313e97ef/attachment-0003.bin>


More information about the libvir-list mailing list