qemu-e2k/python/qemu
Lukáš Doktor 52c68b8abb python: Treat None-return of greeting cmd
In case qemu process dies the "monitor.cmd" returns None which gets
passed to the "__negotiate_capabilities" and leads to unhandled
exception. Let's only check the resp in case it has a value.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20200120071202.30646-1-ldoktor@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2020-02-07 15:12:48 +01:00
..
__init__.py python/qemu: Remove unneeded imports in __init__ 2019-12-16 18:39:51 -05:00
accel.py python/qemu: accel: Fix kvm_available() on ppc64le 2020-02-07 15:12:48 +01:00
machine.py python/qemu: Add set_qmp_monitor() to QEMUMachine 2019-12-16 10:59:50 -05:00
qmp.py python: Treat None-return of greeting cmd 2020-02-07 15:12:48 +01:00
qtest.py iotests.py: Store socket files in $SOCK_DIR 2019-10-28 11:22:30 +01:00