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

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Jul 29 20:08:08 UTC 2008


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?
-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list