scripts/qmp-shell: Accept SocketAddrT instead of string
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:35 +0000 (16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:07 +0000 (16:10 -0400)
commitb0b8ca17e518bc57ae231ade4be4a7ed0e5f07f1
treeff26b0a42d5b221dc92cb17d429ec0e1b3deefed
parent1eab88723c4c8c18cd67b4cad88dbbccf5916061
scripts/qmp-shell: Accept SocketAddrT instead of string

Don't "extend" QEMUMonitorProtocol by changing the argument types. Move
the string parsing just outside of the class instead.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210607200649.1840382-29-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qmp-shell