]> git.proxmox.com Git - mirror_qemu.git/commit - tests/vm/basevm.py
tests/vm: proper guest shutdown
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jun 2019 04:38:51 +0000 (06:38 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jul 2019 18:22:58 +0000 (19:22 +0100)
commitb3f94b2f46222f088eef898a8eb51553e25be3fa
treec7c1b34cc28a889b76686d0bf749f363e1f6e164
parent7f71d5051ef98427a4d2d73b952e7073de314083
tests/vm: proper guest shutdown

When not running in snapshot mode ask the guest to poweroff and wait for
this to finish instead of simply quitting qemu, so the guest can flush
pending updates to disk.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190617043858.8290-5-kraxel@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/vm/basevm.py