[libvirt] [PATCH v1 09/11] storagePoolCreateXML: Don't lose persistent storage on failed create

Ján Tomko jtomko at redhat.com
Mon Aug 19 14:42:05 UTC 2019


On Fri, May 24, 2019 at 04:35:45PM +0200, Michal Privoznik wrote:
>If there's a persistent storage and user tries to start a new one
>with the same name and UUID (e.g. to test new configuration) it
>may happen that upon failure we lose the persistent defintion.
>Fortunately, we don't remove it from the disk only from the
>internal list of the pools.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/storage/storage_driver.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190819/37e12dbf/attachment-0001.sig>


More information about the libvir-list mailing list