[Qemu-devel] [RFC PATCH 0/2] python: refactor qemu/__init__.py

John Snow posted 2 patches 4 years, 10 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
python/qemu/__init__.py                   | 502 +--------------------
python/qemu/machine.py                    | 527 ++++++++++++++++++++++
python/qemu/qtest.py                      |   2 +-
scripts/device-crash-test                 |   2 +-
scripts/render_block_graph.py             |   2 +-
tests/acceptance/avocado_qemu/__init__.py |   2 +-
tests/acceptance/virtio_version.py        |   2 +-
tests/migration/guestperf/engine.py       |  22 +-
tests/qemu-iotests/235                    |   2 +-
tests/vm/basevm.py                        |   3 +-
10 files changed, 547 insertions(+), 519 deletions(-)
create mode 100644 python/qemu/machine.py
[Qemu-devel] [RFC PATCH 0/2] python: refactor qemu/__init__.py
Posted by John Snow 4 years, 10 months ago
There's a lot of code hiding in what is ostensibly a package
configuration file. Let's break that out into something more visible.

This is based on top of a recent patch I sent to Max;
"[Qemu-devel] [PATCH v2] event_match: always match on None value".

John Snow (2):
  python/qemu: split QEMUMachine out from underneath __init__.py
  machine.py: minor delinting

 python/qemu/__init__.py                   | 502 +--------------------
 python/qemu/machine.py                    | 527 ++++++++++++++++++++++
 python/qemu/qtest.py                      |   2 +-
 scripts/device-crash-test                 |   2 +-
 scripts/render_block_graph.py             |   2 +-
 tests/acceptance/avocado_qemu/__init__.py |   2 +-
 tests/acceptance/virtio_version.py        |   2 +-
 tests/migration/guestperf/engine.py       |  22 +-
 tests/qemu-iotests/235                    |   2 +-
 tests/vm/basevm.py                        |   3 +-
 10 files changed, 547 insertions(+), 519 deletions(-)
 create mode 100644 python/qemu/machine.py

-- 
2.20.1