Re: [Xen-devel] [PATCH v2 18/27] tools/libxl: Convert a legacy stream if needed

2015-07-10 Thread Ian Jackson
Andrew Cooper writes ("[PATCH v2 18/27] tools/libxl: Convert a legacy stream if needed"): > For backwards compatibility, a legacy stream needs converting before it can be > read by the v2 stream logic. > > This causes the v2 stream logic to need to juggle two parallel tasks. > check_stream_finish

Re: [Xen-devel] [PATCH v2 18/27] tools/libxl: Convert a legacy stream if needed

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > For backwards compatibility, a legacy stream needs converting before it can be > read by the v2 stream logic. > > This causes the v2 stream logic to need to juggle two parallel tasks. > check_stream_finished() is introduced for the purpose

[Xen-devel] [PATCH v2 18/27] tools/libxl: Convert a legacy stream if needed

2015-07-09 Thread Andrew Cooper
For backwards compatibility, a legacy stream needs converting before it can be read by the v2 stream logic. This causes the v2 stream logic to need to juggle two parallel tasks. check_stream_finished() is introduced for the purpose of joining the tasks in both success and error cases. Signed-off-