Index: client/tests/kvm/tests/pci_hotplug.py |
diff --git a/client/tests/kvm/tests/pci_hotplug.py b/client/tests/kvm/tests/pci_hotplug.py |
index 4bb8bfbf55093828e6fec740e6d2ad97794b3aa6..08061208320ef99f804487dcbba1642aa0d0e3ab 100644 |
--- a/client/tests/kvm/tests/pci_hotplug.py |
+++ b/client/tests/kvm/tests/pci_hotplug.py |
@@ -130,7 +130,7 @@ def run_pci_hotplug(test, params, env): |
(cmd_type, tested_model)) |
after_add = vm.monitor.info("pci") |
- if not id in after_add: |
+ if not device_id in after_add: |
raise error.TestFail("Add device failed. Monitor command is: %s" |
". Output: %r" % (pci_add_cmd, add_output)) |