# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1223669821 25200
# Node ID 419ea0c270bf4be5be590e68edc96f0311df7d03
# Parent 1b152e5e9a47ec932b5c18bb26f226d5896b5432
[TEST] Fix cim_define() for LXC
LXC guests only support Memory and Disk RASDS currently.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 1b152e5e9a47 -r 419ea0c270bf suites/libvirt-cim/lib/XenKvmLib/vxml.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Oct 09 08:54:35 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Oct 10 13:17:01 2008 -0700
@@ -482,7 +482,7 @@
service = vsms.get_vsms_class(self.virt)(ip)
sys_settings = str(self.vssd)
if self.virt == 'LXC' and const.LXC_netns_support is False:
- res_settings = [str(self.dasd), str(self.pasd), str(self.masd)]
+ res_settings = [str(self.dasd), str(self.masd)]
else:
res_settings = [str(self.dasd), str(self.nasd),
str(self.pasd), str(self.masd)]