Anthony Liguori
2005-Sep-15 01:33 UTC
[Xen-devel] [PATCH 1/2] Make sure xend start doesn''t return until ready to accept
The following patch fixes a race condition in xend start. If you just fork and exit from the parent, then when xend start returns, xend might not be ready to accept connections. On a really slow system, it can actually take 10s of seconds to start xend (this seems like a bug in its own right but that''s getting ahead of ourselves) so you may do a xend start with xm commands failing for some time. This patch makes it so that the xend threads notify the parent process when they are ready to get actual work done which is when xend start will actually return. An easy way to see the before/after effect is to do: xend start && xm list Before and after the patch. Regards, Anthony Liguori _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel