Lines Matching full:vm
16 vm = env.get_vm(params["main_vm"])
17 vm.verify_alive()
19 session = vm.wait_for_login(timeout=timeout)
35 session2 = vm.wait_for_login(timeout=timeout)
49 # Make sure the VM goes down
52 if not virt_utils.wait_for(vm.is_dead, suspend_timeout, 2, 2):
53 raise error.TestFail("VM refuses to go down. Suspend failed.")
54 logging.info("VM suspended successfully. Sleeping for a while before "
58 # Start vm, and check whether the program is still running
59 logging.info("Resuming suspended VM...")
60 vm.create()
62 # Log into the resumed VM
64 logging.info("Logging into resumed VM, timeout %s", relogin_timeout)
65 session2 = vm.wait_for_login(timeout=relogin_timeout)
73 logging.info("VM resumed successfuly after suspend to disk")