[Libvirt-cim] [PATCH] [TEST] Fixing VSMS/09_procrasd_persist.py tc

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Feb 4 20:17:12 UTC 2009


> +# Purpose:
> +#   Verify DefineSystem() properly uses the ProcRASD setting passed in
> +#   as part of the ResourceSeting property.

The purpose is to verify that the values for limit and weight are 
persisted properly.

When the guest is defined, the weight and limit values are written to a 
file.  When we do a GetInstance() on the ProcRASD, the file is read to 
get the weight/limit values for each guest.


>        
> @@ -112,8 +118,7 @@ def main():
>          logger.error("Exception: details %s", details)
>          status = FAIL
> 
> -    destroy_and_undefine_domain(default_dom, options.ip, options.virt)
> -
> +#    cxml.undefine(server)

Uncomment this.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list