OSDN Git Service

qemu.py: cleanup redundant calls in launch()
authorAmador Pahim <apahim@redhat.com>
Mon, 22 Jan 2018 20:50:32 +0000 (21:50 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 5 Feb 2018 21:53:55 +0000 (19:53 -0200)
commitc58b535f8396f7ab71dc7074713c99ec042da95b
tree61c9d1e271d657f1908c8e7dd6e9618249800aef
parent17589cae908222d572953d4c85f72aa833e87d58
qemu.py: cleanup redundant calls in launch()

Now that shutdown() is guaranteed to always execute self._load_io_log()
and self._post_shutdown(), their calls in 'except' became redundant and
we can safely replace it by a call to shutdown().

Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Amador Pahim <apahim@redhat.com>
Message-Id: <20180122205033.24893-6-apahim@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
scripts/qemu.py