[Libvirt-cim] [PATCH] [TEST] Fix virt type of Xen in rasd.py and make two tc pass

yunguol at cn.ibm.com yunguol at cn.ibm.com
Tue Dec 2 06:15:43 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1228198538 28800
# Node ID 8d624b104f45f6ff7b9823925575e585a86f5643
# Parent  5fb94ae83ed121d3b0ce54bde7e30175c2df6f70
[TEST] Fix virt type of Xen in rasd.py and make two tc pass

Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>

diff -r 5fb94ae83ed1 -r 8d624b104f45 suites/libvirt-cim/lib/XenKvmLib/rasd.py
--- a/suites/libvirt-cim/lib/XenKvmLib/rasd.py	Wed Nov 26 19:06:58 2008 -0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/rasd.py	Mon Dec 01 22:15:38 2008 -0800
@@ -70,7 +70,7 @@ def rasd_init_list(vsxml, virt, t_disk, 
 
         if virt == 'LXC' or virt == 'XenFV':
            point_device = "%s/%s" %(t_dom, "mouse:usb")
-        elif virt == 'XenPV':
+        elif virt == 'Xen':
            point_device = "%s/%s" %(t_dom, "mouse:xen")
         else:
            point_device = "%s/%s" %(t_dom, "mouse:ps2")




More information about the Libvirt-cim mailing list