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

2017-09-27 Thread Ján Tomko
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 qemuDomainCle

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

2017-09-26 Thread Peter Krempa
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 ++