[PATCH] [TEST] Add type tag to LXC domain

# HG changeset patch # User Kaitlin Rupert <karupert@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@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')

+1 from me. libvirt-cim-bounces@redhat.com wrote on 2008-09-13 06:23:30:
# HG changeset patch # User Kaitlin Rupert <karupert@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@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:222008 -0700 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Sep 12 14:35:122008 -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')
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (2)
-
Guo Lian Yun
-
Kaitlin Rupert