Signed-off-by: Jason Wang <[email protected]>
---
client/tests/kvm/tests/pci_hotplug.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests/pci_hotplug.py
b/client/tests/kvm/tests/pci_hotplug.py
index 4bb8bfb..0806120 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))
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest