mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
tests: virstorage: Fix backing file format of created image
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>
This commit is contained in:
parent
8dd9875787
commit
e5c8f6e080
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user