[libvirt] [PATCH 14/23] Add JSON serialization of virNetServerServicePtr objects for process re-exec()
Eric Blake
eblake at redhat.com
Thu Aug 16 23:20:30 UTC 2012
On 08/09/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Add two new APIs virNetServerServiceNewPostExecRestart and
> virNetServerServicePreExecRestart which allow a virNetServerServicePtr
> object to be created from a JSON object and saved to a
> JSON object, for the purpose of re-exec'ing a process.
>
> This includes serialization of the listening sockets associated
> with the service
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> po/POTFILES.in | 1 +
> src/libvirt_private.syms | 2 +
> src/rpc/virnetserverservice.c | 124 ++++++++++++++++++++++++++++++++++++++++++
> src/rpc/virnetserverservice.h | 4 ++
> 4 files changed, 131 insertions(+)
>
May need some signature changes if the solution to 12 and 13 requires
passing a virCommandPtr through the PreExecRestart commands.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120816/0befbdd9/attachment-0001.sig>
More information about the libvir-list
mailing list