Re: [PATCH v1 32/34] qemuDomainNamespaceTeardownChardev: Deduplicate code

2020-07-24 Thread Ján Tomko
On a Wednesday in 2020, Michal Privoznik wrote: We can use qemuDomainSetupChardev() to obtain the path that we need to unlink() from within domain's namespace. Note, while previously we unlinked only VIR_DOMAIN_CHR_TYPE_DEV chardevs, with this change we unlink some other types too - exactly

[PATCH v1 32/34] qemuDomainNamespaceTeardownChardev: Deduplicate code

2020-07-22 Thread Michal Privoznik
We can use qemuDomainSetupChardev() to obtain the path that we need to unlink() from within domain's namespace. Note, while previously we unlinked only VIR_DOMAIN_CHR_TYPE_DEV chardevs, with this change we unlink some other types too - exactly those types we created when plugging the device in.