Skip to content

scripts: More Python fixes

Philippe Mathieu-Daudé kvm qemu-devel qemu-trivial 1 version Applied

Status from this message: Thanks, applied to my python-next tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest6 patches 9 repliesApplied

Changes in v4 from the cover letter

- Fixed missing scripts/qemugdb/timers.py (kwolf)
- Cover more scripts
- Check for __main__ in few scripts

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6scripts/qemugdb: Remove shebang headerscripts/qemugdb/__init__.py scripts/qemugdb/aio.py scripts/qemugdb/coroutine.py +3 more+4 -111 reply
2/6scripts/qemu-gdb: Use Python 3 interpreterscripts/qemu-gdb.py+2 -21 reply
3/6scripts/qmp: Use Python 3 interpreterscripts/qmp/qom-get scripts/qmp/qom-list scripts/qmp/qom-set +1 more+4 -41 reply
4/6scripts/kvm/vmxcap: Use Python 3 interpreter and add pseudo-main()scripts/kvm/vmxcap+4 -32 replies
5/6scripts/modules/module_block: Use Python 3 interpreter & add pseudo-mainscripts/modules/module_block.py+16 -151 reply
6/6tests/migration/guestperf: Use Python 3 interpretertests/migration/guestperf-batch.py tests/migration/guestperf-plot.py tests/migration/guestperf.py+3 -31 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlex BennéeKevin WolfPaolo BonziniJohn Snow
SeriesR-b
1/6A-b R-b
2/6R-b
3/6R-b
4/6A-b R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/6] scripts: More Python fixes

Trivial Python3 fixes, again...

Since v3:
- Fixed missing scripts/qemugdb/timers.py (kwolf)
- Cover more scripts
- Check for __main__ in few scripts

Since v2:
- Remove patch updating MAINTAINERS

Since v1:
- Added Alex Bennée A-b tags
- Addressed John Snow review comments
- Use /usr/bin/env
- Do not modify os.path (dropped last patch)

Philippe Mathieu-Daudé (6):
scripts/qemugdb: Remove shebang header scripts/qemu-gdb: Use Python 3 interpreter
scripts/qmp: Use Python 3 interpreter scripts/kvm/vmxcap: Use Python 3 interpreter and add pseudo-main() scripts/modules/module_block: Use Python 3 interpreter & add
pseudo-main
tests/migration/guestperf: Use Python 3 interpreter

 scripts/kvm/vmxcap                 |  7 ++++---
 scripts/modules/module_block.py    | 31 +++++++++++++++---------------
 scripts/qemu-gdb.py                |  4 ++--
 scripts/qemugdb/__init__.py        |  3 +--
 scripts/qemugdb/aio.py             |  3 +--
 scripts/qemugdb/coroutine.py       |  3 +--
 scripts/qemugdb/mtree.py           |  4 +---
 scripts/qemugdb/tcg.py             |  1 -
 scripts/qemugdb/timers.py          |  1 -
 scripts/qmp/qom-get                |  2 +-
 scripts/qmp/qom-list               |  2 +-
 scripts/qmp/qom-set                |  2 +-
 scripts/qmp/qom-tree               |  2 +-
 tests/migration/guestperf-batch.py |  2 +-
 tests/migration/guestperf-plot.py  |  2 +-
 tests/migration/guestperf.py       |  2 +-
 16 files changed, 33 insertions(+), 38 deletions(-)
Signature · 1 line
2.21.3