Skip to contentSkip to conversation

KVM test: nic_hotplug: Fix typo

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Feb 18, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: nic_hotplug: Fix typo

---
 client/tests/kvm/tests/nic_hotplug.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/tests/nic_hotplug.py +1 -1
index 50a3ce9..5a757e7 100644
@@ -76,7 +76,7 @@ def run_nic_hotplug(test, params, env):
         vm.monitor.cmd(device_add_cmd)
 
         qdev = vm.monitor.info("qtree")
-        if id not in qdev:
+        if nic_id not in qdev:
             logging.error(qdev)
             raise error.TestFail("Device %s was not plugged into qdev"
                                  "tree" % nic_id)
Signature · 1 line
1.7.4