[Libvirt-cim] [PATCH] [TEST] Fixing main.py to work with F10 libvirt

Deepti B. Kalakeri deeptik at linux.vnet.ibm.com
Wed Dec 17 09:58:13 UTC 2008


# HG changeset patch
# User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
# Date 1229507881 28800
# Node ID 9b8544cbb28b3c690d1973e90f5c048fd9eb7214
# Parent  3bef4df8290571505d2c9028b6c82e0abc8b2e74
[TEST] Fixing main.py to work with F10 libvirt.

The query virsh -c qemu:///system version does not work with latest libvirt on F10.
Hence modified the main.py to use -v option instead.

Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>

diff -r 3bef4df82905 -r 9b8544cbb28b suites/libvirt-cim/main.py
--- a/suites/libvirt-cim/main.py	Mon Dec 15 09:45:28 2008 -0800
+++ b/suites/libvirt-cim/main.py	Wed Dec 17 01:58:01 2008 -0800
@@ -96,7 +96,7 @@
     if ret != 0:
         return "This libvirt install does not support %s"  % virt
 
-    cmd = "virsh -c %s version" % virt2uri(virt)
+    cmd = "virsh -c %s -v" % virt2uri(virt)
     ret, out = utils.run_remote(ip, cmd)
     if ret != 0:
         return "Encountered an error querying libvirt with: %s" % cmd




More information about the Libvirt-cim mailing list