python/machine.py: use qmp.command
commitaaa81ec6093b2d45d5a318227db82fa71680a871
authorJohn Snow <jsnow@redhat.com>
Tue, 6 Oct 2020 23:58:03 +0000 (6 19:58 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 20 Oct 2020 13:37:57 +0000 (20 09:37 -0400)
treee8c792c393916603afd883174c91984fde194576
parent1847a4a8c209379cd7f6788c0dcd5c17c2bf0907
python/machine.py: use qmp.command

machine.py and qmp.py both do the same thing here; refactor machine.py
to use qmp.py's functionality more directly.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201006235817.3280413-7-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/machine.py