The vm-manager currently uses mkdir and unlink in several places where it should instead use the PHP-equivalent to functions like virStoragePoolDefineXML (for storage pools) and virStorageVolDelete.
This is important since it requires the base storage to be mounted while we may have an object store in the future and therefore not necessarily a mount.
The vm-manager currently uses
mkdir
andunlink
in several places where it should instead use the PHP-equivalent to functions likevirStoragePoolDefineXML
(for storage pools) andvirStorageVolDelete
.This is important since it requires the base storage to be mounted while we may have an object store in the future and therefore not necessarily a mount.