Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 client/tests/kvm/tests/nic_hotplug.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/tests/nic_hotplug.py 
b/client/tests/kvm/tests/nic_hotplug.py
index 50a3ce9..5a757e7 100644
--- a/client/tests/kvm/tests/nic_hotplug.py
+++ b/client/tests/kvm/tests/nic_hotplug.py
@@ -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)
-- 
1.7.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to