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

Re: [Xen-devel] [PATCH v3 21/28] tools/libxl: Infrastructure for writing a v2 stream



Andrew Cooper writes ("[PATCH v3 21/28] tools/libxl: Infrastructure for writing 
a v2 stream"):
...
> +    libxl__carefd_begin();
> +    int readfd = open(filename, O_RDONLY);
> +    if (readfd == -1) {
> +        rc = ERROR_FAIL;
> +        LOGE(ERROR, "unable to open %s", filename);
> +        libxl__carefd_unlock();
> +        goto err;
> +    }
> +    stream->emu_carefd = libxl__carefd_opened(CTX, readfd);

A similar comment about libxl__carefd_opened applies here.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.