[Libvirt-cim] [PATCH] [TEST] Update ElementSettingData.03 for LXC support

Guo Lian Yun yunguol at cn.ibm.com
Wed Jul 30 05:20:50 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-07-30 04:08:08:

> yunguol at cn.ibm.com wrote:
> > # HG changeset patch
> > # User Guolian Yun <yunguol at cn.ibm.com>
> > # Date 1216869559 25200
> > # Node ID de9cf9b8a9302a55eff582f15c133cca98547c9b
> > # Parent  32d78f23f6e73f5443022179410128767896465d
> > [TEST] Update ElementSettingData.03 for LXC support
> > 
> > Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> > 
> > diff -r 32d78f23f6e7 -r de9cf9b8a930 suites/libvirt-
> cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py
> > --- a/suites/libvirt-
> cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py   Wed 
> Jul 23 00:32:36 2008 -0700
> > +++ b/suites/libvirt-
> cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py   Wed 
> Jul 23 20:19:19 2008 -0700
> > @@ -60,7 +60,7 @@ from XenKvmLib.classes import get_typed_
> >  from XenKvmLib.classes import get_typed_class
> >  from CimTest.ReturnCodes import PASS, FAIL
> > 
> > -sup_types = ['Xen', 'KVM', 'LXC']
> > +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
> > 
> >  test_dom = "hd_domain1"
> >  test_mac = "00:11:22:33:44:55"
> > @@ -79,6 +79,8 @@ expr_values = {
> >  @do_main(sup_types)
> >  def main():
> >      options = main.options
> > +    if options.virt == 'XenFV':
> > +        options.virt = 'Xen'
> >
> 
> The guest you'll create will be a Xen guest, not a XenFV guest.  Are 
> these 2 lines of code needed?

  These 2 lines are needed, but not here, they should be set after XenFV 
guest 
  creation. #2 patch on the way.

  Thanks!

> -- 
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin at linux.vnet.ibm.com
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080730/6f3b6037/attachment.htm>


More information about the Libvirt-cim mailing list