Daniel P. Berrange 8057c04e8d Add JSON serialization of virLockSpacePtr objects for process re-exec()
Add two new APIs virLockSpaceNewPostExecRestart and
virLockSpacePreExecRestart which allow a virLockSpacePtr
object to be created from a JSON object and saved to a
JSON object, for the purposes of re-exec'ing a process.

As well as saving the state in JSON format, the second
method will disable the O_CLOEXEC flag so that the open
file descriptors are preserved across the process re-exec()

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-10-16 15:45:55 +01:00
..
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2012-08-09 15:40:42 -06:00
2012-10-09 23:55:54 +02:00
2012-09-28 16:02:56 +01:00
2012-04-19 10:21:43 -04:00
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2011-12-08 11:37:24 +08:00