qemu.tests: enospc.py: Destroy guest before remove images on LVM
The cleanup action causes a error if guest still alive when removing images on LVM, thus this patch destroy guest before cleanup method called. Other update: * Introduct error.context into this script. * Add try-except block when calling cleanup method in case unexpected exception is raised. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
Showing
想要评论请 注册 或 登录