Wei Liu writes ("[PATCH v2 2/6] tools/console: introduce --start-notify-fd option for console client"): > The console client will write 0x00 to that fd before entering console > loop to indicate its readiness.
Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> > + do { > + r = write(start_notify_fd, msg, 1); > + } while ((r == -1 && errno == EINTR) || r == 0); I don't think write(,,1) can return 0. If I wrote this code I would either call abort, or crash, in that case. But spinning is OK too. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel