[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: wait for the ack when issuing power control requests




> On 1 Oct 2019, at 11:12, Roger Pau Monne <roger.pau@xxxxxxxxxx> wrote:
> 
> +     libxl_asyncop_how *ao_how = aohow_val(async);
> 
>       caml_enter_blocking_section();
> -     ret = libxl_domain_shutdown(CTX, c_domid);
> +     ret = libxl_domain_shutdown(CTX, c_domid, ao_how);
>       caml_leave_blocking_section();
> 
> +     free(ao_how);
> +

Does this work when aohow_val returns NULL or does this needs to be checked? 
Otherwise This looks good to me.

— C
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.