[libvirt] [PATCH 8/8] Start of a lock manager daemon
Eric Blake
eblake at redhat.com
Thu Dec 9 23:43:29 UTC 2010
On 12/01/2010 10:26 AM, Daniel P. Berrange wrote:
> This starts the basic framework for a lock manager daemon to
> provide guarenteed isolation between VMs using disk images.
> It is a simple demo of how the generic RPC server APIs are
> to be used
> ---
> src/Makefile.am | 16 ++
> src/virtlockd.c | 620 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 636 insertions(+), 0 deletions(-)
> create mode 100644 src/virtlockd.c
Not really part of the XDR refactoring series.
> +
> +
> +static int daemonForkIntoBackground(const char *argv0)
> +{
> + int statuspipe[2];
> + if (pipe(statuspipe) < 0)
> + return -1;
Does this overlap with virCommand?
I didn't really review this one too closely.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101209/4e2a99a1/attachment-0001.sig>
More information about the libvir-list
mailing list