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(a)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