[libvirt] [PATCH 12/14] qemu_process.c: Introduce qemuProcessSetupPRDaemon
Peter Krempa
pkrempa at redhat.com
Mon Feb 12 16:59:19 UTC 2018
On Thu, Jan 18, 2018 at 17:04:44 +0100, Michal Privoznik wrote:
> Again, for hotplug we need to be able to spawn just one process.
> Not all of them. Expose the static function we already have for
> that.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_process.c | 9 +++++++++
> src/qemu/qemu_process.h | 4 ++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
> index 02608c1f3..b4c4c64fa 100644
> --- a/src/qemu/qemu_process.c
> +++ b/src/qemu/qemu_process.c
> @@ -2635,6 +2635,15 @@ qemuProcessSetupOnePRDaemon(void *payload,
> }
>
>
> +int
> +qemuProcessSetupPRDaemon(virDomainObjPtr vm,
> + qemuDomainDiskPRObjectPtr prObj,
> + const char *prAlias)
> +{
> + return qemuProcessSetupOnePRDaemon(prObj, prAlias, vm);
Do we really need a wrapper that only modifies argument order?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180212/86a23c6a/attachment-0001.sig>
More information about the libvir-list
mailing list