1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Fabian Ebner <f.ebner@proxmox.com>
3 Date: Wed, 22 Jun 2022 10:45:12 +0200
4 Subject: [PATCH] vma: create: avoid triggering assertion in error case
6 error_setg expects its argument to not be initialized yet.
8 Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
11 1 file changed, 2 insertions(+)
13 diff --git a/vma-writer.c b/vma-writer.c
14 index 11d8321ffd..29567cba68 100644
17 @@ -310,6 +310,8 @@ VmaWriter *vma_writer_create(const char *filename, uuid_t uuid, Error **errp)
23 error_setg(errp, "can't open file %s - %s\n", filename,