]> git.proxmox.com Git - mirror_qemu.git/commit
qmp: make qmp-shell work with python3
authorIgor Mammedov <imammedo@redhat.com>
Thu, 20 Jun 2019 15:40:35 +0000 (11:40 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 1 Jul 2019 22:02:10 +0000 (19:02 -0300)
commit08aa87f5e78270c3b225eb5c89c069aa9f49f5c1
treed9eb04b1c8481661795e30ccecc0de038ba81203
parent7d0e02405fc02a181319b1ab8681d2f72246b7c6
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 <imammedo@redhat.com>
Message-Id: <20190620154035.30989-1-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
scripts/qmp/qmp-shell