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@lists.xen.org http://lists.xen.org/xen-devel