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

Re: [Xen-devel] [PATCH 14/27] tools/python: Conversion utility for legacy migration streams



On Mon, 2015-06-15 at 14:44 +0100, Andrew Cooper wrote:
> This utility will take a legacy stream as in input, and produce a v2 stream as
> an output.  It is exec()'d by libxl to provide backwards compatibility.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
> CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> CC: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
>  tools/python/Makefile                         |    4 +
>  tools/python/scripts/convert-legacy-stream.py |  683 
> +++++++++++++++++++++++++
>  2 files changed, 687 insertions(+)
>  create mode 100755 tools/python/scripts/convert-legacy-stream.py
> 
> diff --git a/tools/python/Makefile b/tools/python/Makefile
> index e933be8..531c862 100644
> --- a/tools/python/Makefile
> +++ b/tools/python/Makefile
> @@ -17,9 +17,13 @@ build: genwrap.py $(XEN_ROOT)/tools/libxl/libxl_types.idl \
>  
>  .PHONY: install
>  install:
> +     $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
> +
>       CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py install \
>               $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force
>  
> +     $(INSTALL_PROG) scripts/convert-legacy-stream.py 
> $(DESTDIR)$(PRIVATE_BINDIR)

Please drop the .py on install, or from the source too if you prefer.
With that:

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®.