[Libvirt-cim] [PATCH] [TEST] Fix VSMS 15 - need to pass cxml to power_down_guest()
Richard Maciel
rmaciel at linux.vnet.ibm.com
Tue Dec 1 16:00:17 UTC 2009
+1
On 11/19/2009 11:09 PM, Kaitlin Rupert wrote:
> # HG changeset patch
> # User Kaitlin Rupert<karupert at us.ibm.com>
> # Date 1258679326 28800
> # Node ID 8c635edef727257682ec9f3e5a21d52bf0c39887
> # Parent ed5aa34e2a1fdd5b020015b22ee633d5b61a7a0f
> [TEST] Fix VSMS 15 - need to pass cxml to power_down_guest()
>
> Signed-off-by: Kaitlin Rupert<karupert at us.ibm.com>
>
> diff -r ed5aa34e2a1f -r 8c635edef727 suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py
> --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Wed Nov 18 13:39:37 2009 -0800
> +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Thu Nov 19 17:08:46 2009 -0800
> @@ -65,7 +65,7 @@
>
> return PASS, inst
>
> -def power_down_guest(ip, virt, dom):
> +def power_down_guest(ip, virt, dom, cxml):
> rev, changeset = get_provider_version(virt, ip)
>
> if rev< disable_change_rev and virt == "KVM":
> @@ -125,7 +125,8 @@
> raise Exception("Failed to modify dom: %s" % default_dom)
>
> if case == "start":
> - status = power_down_guest(options.ip, options.virt, default_dom)
> + status = power_down_guest(options.ip, options.virt, default_dom,
> + cxml)
> if status != PASS:
> raise Exception("Unable to disable %s" % default_dom)
>
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Richard Maciel, MSc
IBM Linux Technology Center
rmaciel at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list