public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Yolkfull Chow <yzhou@redhat.com>
To: kvm@vger.kernel.org, autotest@test.kernel.org
Cc: Lucas Meneghel Rodrigues <lmr@redhat.com>,
	Michael Goldish <mgoldish@redhat.com>
Subject: [KVM-AUTOTEST PATCH] bugfix for changing kvm_log to logging
Date: Thu, 25 Jun 2009 23:54:25 +0800	[thread overview]
Message-ID: <4A439DB1.9040701@redhat.com> (raw)
In-Reply-To: <1245187799-7757-1-git-send-email-lmr@redhat.com>

diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py
index 4c7bae4..26ae46f 100644
--- a/client/tests/kvm/kvm.py
+++ b/client/tests/kvm/kvm.py
@@ -73,7 +73,7 @@ class kvm(test.test):
          resource.setrlimit(resource.RLIMIT_CORE, (-1, -1))

          # Set the logging prefix
-        #kvm_log.set_prefix(params.get("shortname"))
+        #logging.set_prefix(params.get("shortname"))

          # Report the parameters we've received and write them as keyvals
          logging.debug("Test parameters:")
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index 4bc8dc7..a37d322 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b/client/tests/kvm/kvm_utils.py
@@ -670,7 +670,7 @@ def remote_login(command, password, prompt, 
linesep="\n", timeout=10):
              sub.close()
              return None
          elif match == 4:  # "Connection refused"
-            kvm_log.debug("Got 'Connection refused'")
+            logging.debug("Got 'Connection refused'")
              sub.close()
              return None
          elif match == 5:  # prompt

  parent reply	other threads:[~2009-06-25 15:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16 21:29 [KVM-AUTOTEST PATCH] Adding iperf test Lucas Meneghel Rodrigues
2009-06-16 21:40 ` Lucas Meneghel Rodrigues
2009-06-16 23:43   ` Lucas Meneghel Rodrigues
2009-06-25 15:54 ` Yolkfull Chow [this message]
2009-07-01  3:24   ` [KVM-AUTOTEST PATCH] bugfix for changing kvm_log to logging Lucas Meneghel Rodrigues
2009-06-30  8:52 ` [KVM-AUTOTEST PATCH] Adding iperf test sudhir kumar
2009-06-30 22:46   ` Lucas Meneghel Rodrigues
2009-07-01 11:43   ` Alexey Eremenko
2009-07-01 15:57     ` Lucas Meneghel Rodrigues
2009-07-01 16:18       ` [Autotest] " Martin Bligh
2009-07-01 17:14         ` Avi Kivity
2009-07-01 17:16           ` Martin Bligh
2009-07-01 20:29             ` Lucas Meneghel Rodrigues
2009-07-02  8:26             ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A439DB1.9040701@redhat.com \
    --to=yzhou@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    --cc=mgoldish@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox