projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e5674
)
scripts/qmp-shell: fix exception handling
author
John Snow
<jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:11 +0000
(16:06 -0400)
committer
John Snow
<jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000
(16:10 -0400)
Fixes: 50d189c
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id:
20210607200649
.
1840382
-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qmp-shell
patch
|
blob
|
history
diff --git
a/scripts/qmp/qmp-shell
b/scripts/qmp/qmp-shell
index 18bf49bb26217b287fc3010da8faa1dc46d9da96..413dd4d2de0e8b49025b8dca797d1185e87afde2 100755
(executable)
--- a/
scripts/qmp/qmp-shell
+++ b/
scripts/qmp/qmp-shell
@@
-452,7
+452,7
@@
def main():
die('Didn\'t get QMP greeting message')
except qmp.QMPCapabilitiesError:
die('Could not negotiate capabilities')
- except
qemu.e
rror:
+ except
OSE
rror:
die('Could not connect to %s' % addr)
qemu.show_banner()