[Xen-devel] wating for backend changes (was Re: [PATCH v3 4/4] libxl: add support for vscsi)

2015-04-15 Thread Ian Jackson
Olaf Hering writes (wating for backend changes (was Re: [PATCH v3 4/4] libxl: add support for vscsi)): How is new code supposed to wait for backend changes? Right now there are two APIs for that: - libxl__wait_for_backend loops for a while until it returns an error. This is deprecated. I

Re: [Xen-devel] wating for backend changes (was Re: [PATCH v3 4/4] libxl: add support for vscsi)

2015-04-14 Thread Olaf Hering
On Fri, Apr 10, Olaf Hering wrote: How is new code supposed to wait for backend changes? Right now there are two APIs for that: - libxl__wait_for_backend loops for a while until it returns an error. - libxl__ev_devstate_wait registers a watch and a timer. In case of pvscsi there are