[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 06/27] tools/libxl: Split libxl__domain_create_state.restore_fd in two



On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote:
> In a future patch, we shall support automatically converting a legacy stream
> to a v2 stream, in which case libxc needs to read from a different fd.
> 
> Simply overwriting restore_fd does not work; the two fd's have different
> circumstances.  The restore_fd needs to be returned to its origial state
> before libxl_domain_create_restore() returns, while in the converted case, the
> fd needs allocating and deallocating appropriately.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Ian Campbell <Ian.Campbell@xxxxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.