kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jiří Župka" <jzupka@redhat.com>
To: kvm-autotest@redhat.com, kvm@vger.kernel.org,
	autotest@test.kernel.org, lmr@redhat.com, ldoktor@redhat.com,
	akong@redhat.com
Subject: [AUTOTEST][KVM] [PATCH 1/2] Repair bug of creating kvm guest machine.
Date: Fri, 29 Apr 2011 15:59:20 +0200	[thread overview]
Message-ID: <1304085561-4774-2-git-send-email-jzupka@redhat.com> (raw)
In-Reply-To: <1304085561-4774-1-git-send-email-jzupka@redhat.com>

Access to undefined variable.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
---
 client/virt/kvm_vm.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py
index 5df8719..619a5f9 100644
--- a/client/virt/kvm_vm.py
+++ b/client/virt/kvm_vm.py
@@ -405,6 +405,7 @@ class VM(virt_vm.BaseVM):
                 device_id = vm.device_id[vlan]
             except IndexError:
                 netdev_id = None
+                device_id = None
             # Handle the '-net nic' part
             try:
                 mac = vm.get_mac_address(vlan)
-- 
1.7.4.4

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

  reply	other threads:[~2011-04-29 13:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 13:59 [AUTOTEST]Add ability to call autotest client tests from kvm tests like a subtest Jiří Župka
2011-04-29 13:59 ` Jiří Župka [this message]
2011-04-29 15:23   ` [AUTOTEST][PATCH 1/2] Repair bug of creating kvm guest machine Lucas Meneghel Rodrigues
2011-04-29 13:59 ` [AUTOTEST][KVM] [PATCH 2/2] Add ability to call autotest client tests from kvm tests like a subtest Jiří Župka
2011-05-04  2:19   ` [Autotest] [AUTOTEST][PATCH " Lucas Meneghel Rodrigues
2011-05-04 13:57     ` Jiri Zupka
2011-07-19 12:32     ` [AUTOTEST][KVM] [PATCH " Jiri Zupka
2011-07-19 14:18       ` [Autotest] [AUTOTEST][PATCH " Lucas Meneghel Rodrigues

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=1304085561-4774-2-git-send-email-jzupka@redhat.com \
    --to=jzupka@redhat.com \
    --cc=akong@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm-autotest@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=ldoktor@redhat.com \
    --cc=lmr@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;
as well as URLs for NNTP newsgroup(s).