On 03/29/2018 06:38 PM, Eduardo Habkost wrote:
> This way all shutdown-related cleanup is kept in a single place.
>
> While at it, set _qmp to None after closing the socket, to avoid
> trying to reuse it by mistake later.
>
> Signed-off-by: Eduardo Habkost
Reviewed-by:
This way all shutdown-related cleanup is kept in a single place.
While at it, set _qmp to None after closing the socket, to avoid
trying to reuse it by mistake later.
Signed-off-by: Eduardo Habkost
---
scripts/qemu.py | 5 -
1 file changed, 4 insertions(+), 1