From 17c4312c63a126520b8a1d042b986498ad85cb3d Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Thu, 28 Jan 2016 13:57:12 +0100 Subject: [PATCH] qemu: Export qemuDomainObjBeginNestedJob Signed-off-by: Jiri Denemark --- src/qemu/qemu_domain.c | 2 +- src/qemu/qemu_domain.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index c6ff0da6d9..09c173ca40 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -1794,7 +1794,7 @@ int qemuDomainObjBeginAsyncJob(virQEMUDriverPtr driver, return 0; } -static int ATTRIBUTE_RETURN_CHECK +int qemuDomainObjBeginNestedJob(virQEMUDriverPtr driver, virDomainObjPtr obj, qemuDomainAsyncJob asyncJob) diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index e4b1e8bb92..29f5864393 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -267,6 +267,10 @@ int qemuDomainObjBeginAsyncJob(virQEMUDriverPtr driver, virDomainObjPtr obj, qemuDomainAsyncJob asyncJob) ATTRIBUTE_RETURN_CHECK; +int qemuDomainObjBeginNestedJob(virQEMUDriverPtr driver, + virDomainObjPtr obj, + qemuDomainAsyncJob asyncJob) + ATTRIBUTE_RETURN_CHECK; void qemuDomainObjEndJob(virQEMUDriverPtr driver, virDomainObjPtr obj);