[libvirt] [PATCH] qemu: domain: Extract common clearing of VM private data

Ján Tomko jtomko at redhat.com
Wed Sep 27 15:26:57 UTC 2017


On Tue, Sep 26, 2017 at 12:05:02PM +0200, Peter Krempa wrote:
>VM private data is cleared when the VM is turned off and also when the
>VM object is being freed. Some of the clearing code was duplicated.
>Extract it to a separate function.
>
>This also removes the now unnecessary function
>qemuDomainClearPrivatePaths.
>---
> src/qemu/qemu_domain.c  | 76 +++++++++++++++++++++++++++++++++----------------
> src/qemu/qemu_domain.h  |  4 +--
> src/qemu/qemu_process.c | 36 ++---------------------
> 3 files changed, 55 insertions(+), 61 deletions(-)
>

ACK

Jan
-------------- 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/20170927/2150d7ec/attachment-0001.sig>


More information about the libvir-list mailing list