mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
qemublocktest: Add test for creating a qcow2 on top of an luks-encrypted qcow2
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
15ab655835
commit
ca444a2eb2
@ -1216,6 +1216,7 @@ mymain(void)
|
||||
TEST_IMAGE_CREATE("qcow2-backing-raw", "raw");
|
||||
TEST_IMAGE_CREATE("qcow2-backing-raw-nbd", "raw-nbd");
|
||||
TEST_IMAGE_CREATE("qcow2-backing-luks", "luks-noopts");
|
||||
TEST_IMAGE_CREATE("qcow2-backing-qcow2luks", "qcow2-luks-noopts");
|
||||
TEST_IMAGE_CREATE("qcow2-luks-encopts-backing", "qcow2");
|
||||
TEST_IMAGE_CREATE("qcow2-backing-raw-slice", "raw-slice");
|
||||
TEST_IMAGE_CREATE("qcow2-backing-qcow2-slice", "qcow2-slice");
|
||||
|
@ -0,0 +1,15 @@
|
||||
protocol:
|
||||
{
|
||||
"driver": "file",
|
||||
"filename": "/var/lib/libvirt/images/i.qcow2",
|
||||
"size": 4294967296
|
||||
}
|
||||
|
||||
format:
|
||||
{
|
||||
"driver": "qcow2",
|
||||
"file": "0123456789ABCDEF0123456789ABCDE",
|
||||
"size": 8589934590,
|
||||
"backing-file": "/var/lib/libvirt/images/i.qcow2",
|
||||
"backing-fmt": "qcow2"
|
||||
}
|
1
tests/qemublocktestdata/imagecreate/qcow2-backing-qcow2luks.xml
Symbolic link
1
tests/qemublocktestdata/imagecreate/qcow2-backing-qcow2luks.xml
Symbolic link
@ -0,0 +1 @@
|
||||
qcow2.xml
|
Loading…
Reference in New Issue
Block a user