kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Change log message of VM login
@ 2009-09-27 10:03 Yolkfull Chow
  0 siblings, 0 replies; only message in thread
From: Yolkfull Chow @ 2009-09-27 10:03 UTC (permalink / raw)
  To: kvm; +Cc: autotest, Yolkfull Chow

We may use this function 'wait_for_login' for several times in a case,
only the first time login could be "Waiting guest to be up".

Signed-off-by: Yolkfull Chow <yzhou@redhat.com>
---
 client/tests/kvm/kvm_test_utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/kvm_test_utils.py b/client/tests/kvm/kvm_test_utils.py
index 601b350..aa3f2ee 100644
--- a/client/tests/kvm/kvm_test_utils.py
+++ b/client/tests/kvm/kvm_test_utils.py
@@ -52,7 +52,7 @@ def wait_for_login(vm, nic_index=0, timeout=240):
     @param timeout: Time to wait before giving up.
     @return: A shell session object.
     """
-    logging.info("Waiting for guest '%s' to be up..." % vm.name)
+    logging.info("Try to login to guest '%s'..." % vm.name)
     session = kvm_utils.wait_for(lambda: vm.remote_login(nic_index=nic_index),
                                  timeout, 0, 2)
     if not session:
-- 
1.6.2.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-27 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-27 10:03 [PATCH] Change log message of VM login Yolkfull Chow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).