[libvirt] [PATCH 12/12] shutdown: Implement internal API for xenapi driver

Eric Blake eblake at redhat.com
Thu Jul 21 22:12:37 UTC 2011


On 07/21/2011 02:54 PM, Michal Privoznik wrote:
> ---
>   src/xenapi/xenapi_driver.c |   25 +++++++++++++++++++++++--
>   1 files changed, 23 insertions(+), 2 deletions(-)
>

>    */
>   static int
> -xenapiDomainShutdown (virDomainPtr dom)
> +xenapiDomainShutdownFlags(virDomainPtr dom,
> +                          unsigned int flags)
>   {
> +    virCheckFlags(0, -1);
> +
>       /* vm.clean_shutdown */
>       xen_vm vm;

Typically, we list the virCheckFlags() after all the other declarations, 
but before the first statement.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list