[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 4/8] libxl: wait up to 5s in libxl_console_exec for xenconsoled
Wei Liu writes ("[RFC PATCH 4/8] libxl: wait up to 5s in libxl_console_exec for xenconsoled"): > Wait until the tty node is available before exec'ing xenconsole. You shouldn't poll. We have a perfectly good xenstore watch mechanism. You could either: (a) do something ad-hoc with poll(), the xenstore fd, etc. (b) make libxl_console_exec by a weird special case which starts an AO but always synchronously (ie, doesn't take an ao_how), and then use the existing libxl__xswait and a callback. Doing the latter would mean that you would already have done half (a third?) of the work for a future libxl_console_get_fd function. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |