qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 08aa87: qmp: make qmp-shell work with python3


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 08aa87: qmp: make qmp-shell work with python3
Date: Thu, 04 Jul 2019 05:03:45 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 08aa87f5e78270c3b225eb5c89c069aa9f49f5c1
      
https://github.com/qemu/qemu/commit/08aa87f5e78270c3b225eb5c89c069aa9f49f5c1
  Author: Igor Mammedov <address@hidden>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M scripts/qmp/qmp-shell

  Log Message:
  -----------
  qmp: make qmp-shell work with python3

python3 doesn't have raw_input(), so qmp-shell breaks.
Use input() instead and override it with raw_input()
if running on python2.

Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: abf0bf998dcb20807195018bfdd7abca2930dbbd
      
https://github.com/qemu/qemu/commit/abf0bf998dcb20807195018bfdd7abca2930dbbd
  Author: John Snow <address@hidden>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M python/qemu/__init__.py
    A python/qemu/machine.py
    M python/qemu/qtest.py
    M scripts/device-crash-test
    M scripts/render_block_graph.py
    M tests/acceptance/avocado_qemu/__init__.py
    M tests/acceptance/virtio_version.py
    M tests/migration/guestperf/engine.py
    M tests/qemu-iotests/235
    M tests/vm/basevm.py

  Log Message:
  -----------
  python/qemu: split QEMUMachine out from underneath __init__.py

It's not obvious that something named __init__.py actually houses
important code that isn't relevant to python packaging glue. Move the
QEMUMachine and related error classes out into their own module.

Adjust users to the new import location.

Signed-off-by: John Snow <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 306dfcd6864b7d35dac7ed1b9c231c266bda5d80
      
https://github.com/qemu/qemu/commit/306dfcd6864b7d35dac7ed1b9c231c266bda5d80
  Author: John Snow <address@hidden>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M python/qemu/machine.py

  Log Message:
  -----------
  machine.py: minor delinting

Since we're out in a new module, do a quick cursory pass of some of the
more obvious style issues.

Signed-off-by: John Snow <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: e5abf59eae5990296c243202f95f801495c52e76
      
https://github.com/qemu/qemu/commit/e5abf59eae5990296c243202f95f801495c52e76
  Author: Eduardo Habkost <address@hidden>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M configure
    M qemu-deprecated.texi

  Log Message:
  -----------
  Deprecate Python 2 support

Python 2 will reach end of life in January 1 2020.  Declare it as
deprecated.

Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
[ehabkost: print "warning:" in lowercase]
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 3eb98f760e54f897a7ecf88e63f9eade6b00f614
      
https://github.com/qemu/qemu/commit/3eb98f760e54f897a7ecf88e63f9eade6b00f614
  Author: Peter Maydell <address@hidden>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M configure
    M python/qemu/__init__.py
    A python/qemu/machine.py
    M python/qemu/qtest.py
    M qemu-deprecated.texi
    M scripts/device-crash-test
    M scripts/qmp/qmp-shell
    M scripts/render_block_graph.py
    M tests/acceptance/avocado_qemu/__init__.py
    M tests/acceptance/virtio_version.py
    M tests/migration/guestperf/engine.py
    M tests/qemu-iotests/235
    M tests/vm/basevm.py

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ehabkost/tags/python-next-pull-request' 
into staging

Python queue, 2019-07-01

* Deprecate Python 2 support (Eduardo Habkost)
* qemu/__init__.py refactor (John Snow)
* make qmp-shell work with python3 (Igor Mammedov)

# gpg: Signature made Mon 01 Jul 2019 23:28:27 BST
# gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Eduardo Habkost <address@hidden>" [full]
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/python-next-pull-request:
  Deprecate Python 2 support
  machine.py: minor delinting
  python/qemu: split QEMUMachine out from underneath __init__.py
  qmp: make qmp-shell work with python3

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/aff8cee805e5...3eb98f760e54



reply via email to

[Prev in Thread] Current Thread [Next in Thread]