[libvirt] [PATCH 07/10] qemu: hotplug: Simplify removal of managed PR infrastructure on unplug

Ján Tomko jtomko at redhat.com
Thu Jul 19 13:00:14 UTC 2018


On Tue, Jul 17, 2018 at 02:14:27PM +0200, Peter Krempa wrote:
>Extract the (possible) removal of the PR backend and daemon into a
>separate helper which enters monitor on it's own. This simplifies the

its

>code and allows reuse of this function in the future e.g. for blockjobs
>where removing a image with PR may result into PR not being necessary.
>
>Since the PR is not used often the overhead of entering monitor again
>should be negligible.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 49 ++++++++++++++++++++++++++++++++++++++-----------
> 1 file changed, 38 insertions(+), 11 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180719/8160861e/attachment-0001.sig>


More information about the libvir-list mailing list