OK so this is step 2.5 out of 8 ... it wasn't part of the original plan.
2.5 Export virGetDomain and virGetNetwork
-----------------------------------------
M src/libvirt_sym.version
M src/hash.c
M src/internal.h
This patch exports virGetDomain and virGetNetwork functions as
"internal" functions (__virGetDomain and __virGetNetwork) for use by the
remote daemon.
The use is as follows: client needs to invoke a function such as
virDomainSuspend (virDomainPtr dom). In order to do this it has to send
a reference to "dom" over the wire to the server, which it does by
encoding a remote_nonnull_domain XDR object (basically the name and
UUID). On the server side we use virGetDomain to pull out the
corresponding virDomainPtr from the hash associated with the connection.
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)