[Libvirt-cim] [PATCH 5 of 6] 1) Added support for KVM

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Jul 30 15:41:26 UTC 2008


> -    # undefine the vs
> -    undefine_test_domain(default_dom, options.ip, options.virt)
> +    if status != PASS:
> +        destroy_netpool(server, virt, test_network)
> +        destroy_and_undefine_domain(default_dom, server, virt)
> +        return status
> 
> +    # Try to reboot the VS which is suspened
> +    rq_state = REBOOT_STATE 
> +    status = try_request_state_change(default_dom, server,
> +                                      rq_state, TIME, err_no,
> +                                      err_desc, virt)
> +

Also here, you don't verify the guest has been rebooted properly.  Is 
there a reason to pull this piece out of the loop?

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




More information about the Libvirt-cim mailing list