On Mon, Feb 24, 2014 at 01:45:01PM +0800, Fam Zheng wrote: > When QEMU process aborts and socket is closed, qmp client will not > detect it. When this happens, some qemu-iotests scripts will enter an > endless loop waiting for qmp events. > > It's better we raise an exception in qmp.py to catch this and make the > test script stop. > > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > scripts/qmp/qmp.py | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>