mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-30 00:15:21 +00:00
611a278fa4
It is highly unlikely that a backend will know how to create a volume from a different volume (buildVolFrom) and not know how to create an empty volume (createVol). But: 1) we call the function without any prior check so if that's the case we would SIGSEGV immediatelly 2) it's better to be safe than sorry. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>