Skip to content

Commit

Permalink
Merge pull request #3525 from luckyh/issue3523
Browse files Browse the repository at this point in the history
save_restore_vm: update test with new vm.restore_to_file behavior
  • Loading branch information
yanan-fu committed Feb 7, 2023
2 parents 0064b65 + f3626a2 commit ad8031b
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 ad8031b

Please sign in to comment.