Signed-off-by: Feng Yang <[email protected]>
---
client/virt/kvm_storage.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/virt/kvm_storage.py b/client/virt/kvm_storage.py
index c703aea..4fecac0 100644
--- a/client/virt/kvm_storage.py
+++ b/client/virt/kvm_storage.py
@@ -241,8 +241,8 @@ class QemuImg(virt_storage.QemuImg):
else:
raise error.TestError("Can not find the snapshot image"
" parameters")
- if blkdebug:
- cmd += " blkdebug:%s:%s" % (blkdebug, self.image_filename)
+ if blkdebug_cfg:
+ cmd += " blkdebug:%s:%s" % (blkdebug_cfg, self.image_filename)
else:
cmd += " %s" % self.image_filename
--
1.7.7.6
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest