Skip to content

Commit

Permalink
save_restore_vm: update test with new vm.restore_to_file behavior
Browse files Browse the repository at this point in the history
Issue: #3523

Signed-off-by: Xu Han <xuhan@redhat.com>
  • Loading branch information
luckyh committed Nov 3, 2022
1 parent 5ff6ec9 commit f3626a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qemu/tests/save_restore_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def run(test, params, env):
time.sleep(10)
utils_memory.drop_caches()
vm.restore_from_file(save_file)
vm.resume()
session = vm.wait_for_login(timeout=timeout)
restore_time = utils_misc.monotonic_time() - vm.start_monotonic_time
test.write_test_keyval({'result': "%ss" % restore_time})
Expand Down

0 comments on commit f3626a2

Please sign in to comment.