This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] [PATCH V4] libxl: make libxl communicate with xenstored

Ian Campbell writes ("RE: [Xen-devel] [PATCH V4] libxl: make libxl communicate 
with xenstored by socket or xenbus driver"):
> I'd similarly concerned about any other fds linked to the context, are
> any fds used by the particular xentoollog_logger implementation used by
> the context going to be alright for example?

All the current logger implementations will be fine.  If there were a
problem it would be no trouble for a logger to do getpid() before each
log message.

> I would have thought that reusing ctx->xsh over a fork would cause all
> manner of mayhem but it looks like libxl_fork cleverly takes care of
> that for us.

Yes, I did it like that to try to make it harder to accidentally
introduce xsh reuse problems.


Xen-devel mailing list