]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_namespace: Introduce qemuDomainNamespaceSetupPath()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Sep 2022 11:43:58 +0000 (13:43 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 23 Sep 2022 14:33:09 +0000 (16:33 +0200)
commit5853d707189005a4ea5b2215e80853867b822fd9
tree5aaf319d8e6106291326b3136111a2e8a172b6d0
parent46b03819ae8d833b11c2aaccb2c2a0361727f51b
qemu_namespace: Introduce qemuDomainNamespaceSetupPath()

Sometimes it may come handy to just bind mount a directory/file
into domain's namespace. Implement a thin wrapper over
qemuNamespaceMknodPaths() which has all the logic we need.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_namespace.c
src/qemu/qemu_namespace.h