]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainCreateDeviceRecursive: Fail on unsupported file type
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 19 Jun 2017 08:56:20 +0000 (10:56 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 11 Jul 2017 12:45:15 +0000 (14:45 +0200)
commit89921f54cd4775909f30cfb56313ed3afd3945ca
tree528d4bbe95ba31bc1c9c9a493ee816f7e0a63eb1
parent4d8a914be00b5d94b7a5ee8dd3a857d26700592d
qemuDomainCreateDeviceRecursive: Fail on unsupported file type

Currently, we silently assume that file we are creating in the
namespace is either a link or a device (character or block one).
This is not always the case. Therefore instead of doing something
wrong, claim about unsupported file type.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c