[libvirt] [PATCH 09/11] libxl: use job functions in device attach and detach functions
Michal Privoznik
mprivozn at redhat.com
Tue Feb 11 14:35:59 UTC 2014
On 07.02.2014 04:53, Jim Fehlig wrote:
> These operations aren't necessarily time consuming, but need to
> wait in the queue of modify jobs.
>
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
> src/libxl/libxl_driver.c | 40 ++++++++++++++++++++++++++--------------
> 1 file changed, 26 insertions(+), 14 deletions(-)
>
> diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
> index 7ce127a..528c2cb 100644
> --- a/src/libxl/libxl_driver.c
> +++ b/src/libxl/libxl_driver.c
> @@ -3585,6 +3594,9 @@ libxlDomainDetachDeviceFlags(virDomainPtr dom, const char *xml,
> }
> }
>
> +endjob:
> + libxlDomainObjEndJob(driver, vm);
> +
> cleanup:
> virDomainDefFree(vmdef);
> virDomainDeviceDefFree(dev);
>
Conditional ACK
Michal
More information about the libvir-list
mailing list