forked from rpms/libvirt
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 81a506d1ac93ce3c5a21ae0dc6906d26074083f6 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <81a506d1ac93ce3c5a21ae0dc6906d26074083f6@dist-git>
|
|
From: Peter Krempa <pkrempa@redhat.com>
|
|
Date: Fri, 28 Feb 2020 10:24:35 +0100
|
|
Subject: [PATCH] tests: virstorage: Fix backing file format of created image
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
We create some images for testing our code. We've recorded wrong format
|
|
of the backing file for one of the images though.
|
|
|
|
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
(cherry picked from commit e5c8f6e0800106c9331c975344086c7834fcae2a)
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1798148
|
|
Message-Id: <fbd88f094ef3e9e43b4395bb7686bb9f6f76fb38.1582881363.git.pkrempa@redhat.com>
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
---
|
|
tests/virstoragetest.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
|
|
index 39040bf4cb..e7794d6168 100644
|
|
--- a/tests/virstoragetest.c
|
|
+++ b/tests/virstoragetest.c
|
|
@@ -964,7 +964,7 @@ mymain(void)
|
|
/* Rewrite wrap and qcow2 back to 3-deep chain, absolute backing */
|
|
virCommandFree(cmd);
|
|
cmd = virCommandNewArgList(qemuimg, "rebase", "-u", "-f", "qcow2",
|
|
- "-F", "qcow2", "-b", absraw, "qcow2", NULL);
|
|
+ "-F", "raw", "-b", absraw, "qcow2", NULL);
|
|
if (virCommandRun(cmd, NULL) < 0)
|
|
ret = -1;
|
|
|
|
--
|
|
2.25.1
|
|
|