[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 8/8] Start of a lock manager daemon



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]