[Libvir] [PATCH] Remote 6/8: Server-side QEMUD modifications
Richard W.M. Jones
rjones at redhat.com
Sat May 5 11:45:33 UTC 2007
> 6 Server-side QEMUD modifications
> ---------------------------------
>
> A qemud/protocol.x
> A qemud/protocol.c
> M qemud/protocol.h
> M qemud/Makefile.am
> M qemud/conf.c
> M qemud/dispatch.c
> M qemud/dispatch.h
> M qemud/internal.h
> M qemud/qemud.c
> M qemud/uuid.c
Again, this is Dan's patch to make QEMUD use the XDR protocol:
http://www.redhat.com/archives/libvir-list/2007-March/msg00333.html
The modifications I have made:
(1) Use REMOTE_MESSAGE_MAX from remote_protocol.x
(2) Make the protocol superficially similar to the remote protocol so
that we can dispatch on it, although in the current implementation this
is actually not used. Instead we make our dispatch decision based on
whether the daemon was started with --remote on the command line.
(3) Allow the daemon to listen on TCP sockets.
(4) Allow the daemon to require GnuTLS encryption negotiation on
sockets. In addition, the daemon can now check the client's IP address
and certificate against a whitelist.
(5) Add support for a configuration file (/etc/libvirt/libvirtd.conf by
default, but can be overridden on the command line), which allows the
sockets and certificate stuff to be configured.
To do:
Find a good default place in the filesystem to find the CA and client
certificates.
Change the start-up script so that it can start a QEMU/network daemon
and a remote daemon.
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-6of8-20070505.patch
Type: text/x-patch
Size: 110109 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070505/c55abb52/attachment-0004.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: protocol.x
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070505/c55abb52/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: protocol.c
Type: text/x-csrc
Size: 28076 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070505/c55abb52/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: protocol.h
Type: text/x-chdr
Size: 29053 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070505/c55abb52/attachment-0006.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/c55abb52/attachment-0007.bin>
More information about the libvir-list
mailing list