diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-06-17 06:38:51 +0200 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-07-04 19:22:58 +0100 |
commit | b3f94b2f46222f088eef898a8eb51553e25be3fa (patch) | |
tree | c7c1b34cc28a889b76686d0bf749f363e1f6e164 /tests/test-block-iothread.c | |
parent | 7f71d5051ef98427a4d2d73b952e7073de314083 (diff) |
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>
Diffstat (limited to 'tests/test-block-iothread.c')
0 files changed, 0 insertions, 0 deletions