[PATCH v1 32/34] qemuDomainNamespaceTeardownChardev: Deduplicate code

Ján Tomko jtomko at redhat.com
Fri Jul 24 15:52:15 UTC 2020


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 those
>types we created when plugging the device in.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_domain_namespace.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200724/115e444c/attachment-0001.sig>


More information about the libvir-list mailing list