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

[Xen-devel] [PATCH v3 0/7] tools: Python 3 compatibility



This series makes tools work with Python 2 and 3

Tested on my testbox with Python 2 and 3. Unfortunately I didn't have a
suitable disk image for pygrub to consume, but at least while running pygrub 2
and 3 it gave the same error message.

Andrew's "tools/xen-foreign: Update python scripts to be
Py3 compatible" is a pre-requisite.

Wei.

Wei Liu (7):
  Update python requirement
  pygrub/fsimage: drop unused struct
  pygrub: change tabs into spaces
  build/m4: make python_devel.m4 work with both python 2 and 3
  libxl: make python scripts work with python 2.6 and up
  pygrub: make python scripts work with 2.6 and up
  pygrub/fsimage: make it work with python 3

 README                             | 10 +---
 m4/python_devel.m4                 | 23 +++------
 tools/configure                    | 72 +++++----------------------
 tools/configure.ac                 |  2 +-
 tools/libxl/gentest.py             |  4 +-
 tools/libxl/gentypes.py            | 12 +++--
 tools/libxl/idl.py                 | 15 +++---
 tools/pygrub/src/ExtLinuxConf.py   | 19 +++++---
 tools/pygrub/src/GrubConf.py       | 39 ++++++++-------
 tools/pygrub/src/LiloConf.py       | 19 +++++---
 tools/pygrub/src/fsimage/fsimage.c | 99 ++++++++++++++++++++++++++++++++------
 tools/pygrub/src/pygrub            | 75 ++++++++++++++---------------
 12 files changed, 205 insertions(+), 184 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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