]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Also treat directories properly when using namespaces
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 18 Aug 2017 15:33:08 +0000 (17:33 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 29 Aug 2017 14:30:04 +0000 (16:30 +0200)
commited8661a309c96e4a1573dc0ca2c76ea7ff19469a
tree17f3056f1ce83faaa2231237ffbee12d450324f8
parent3401e208ab1dcea4694e5b18623d9b91d4bc286f
qemu: Also treat directories properly when using namespaces

When recreating folders with namespaces, the directory type was not
being handled at all.  It's not special, we probably just didn't know
that that can be used as a volume path as well.  The code failed
gracefully, but we want to allow that so that we can use <disk
type='dir'> in domains again.

Partially-resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1443434

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.c