Re: [PATCH v1 30/34] qemuDomainNamespaceTeardownHostdev: Unlink paths in one go

2020-07-24 Thread Ján Tomko
On a Wednesday in 2020, Michal Privoznik wrote: In my attempt to deduplicate the code, we can use qemuDomainSetupHostdev() to obtain the list of paths to unlink and then pass it to qemuDomainNamespaceUnlinkPaths() to unlink them in a single fork. Signed-off-by: Michal Privoznik --- src/qemu/qem

[PATCH v1 30/34] qemuDomainNamespaceTeardownHostdev: Unlink paths in one go

2020-07-22 Thread Michal Privoznik
In my attempt to deduplicate the code, we can use qemuDomainSetupHostdev() to obtain the list of paths to unlink and then pass it to qemuDomainNamespaceUnlinkPaths() to unlink them in a single fork. Signed-off-by: Michal Privoznik --- src/qemu/qemu_domain_namespace.c | 14 ++ 1 file