[Libvirt-cim] [PATCH] [TEST] Add type tag to LXC domain

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Sep 12 22:23:30 UTC 2008


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1221255312 25200
# Node ID c6645bb2763676c1051684a689cdbdaeb7000ccd
# Parent  12931170a223bf6194177be33dfad154d7cb21e9
[TEST] Add type tag to LXC domain.

Due to the recent LXC changes in libvirt, this new tag is required.

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r 12931170a223 -r c6645bb27636 suites/libvirt-cim/lib/XenKvmLib/vxml.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py	Wed Sep 10 18:58:22 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py	Fri Sep 12 14:35:12 2008 -0700
@@ -699,6 +699,7 @@
     def _os(self, os_init):
         os = self.get_node('/domain/os')
         self.add_sub_node(os, 'init', os_init)
+        self.add_sub_node(os, 'type', 'exe')
 
     def _devices(self, net_mac, net_type, net_name, tty_set):
         devices = self.get_node('/domain/devices')




More information about the Libvirt-cim mailing list