mirror of https://gitee.com/openkylin/libvirt.git
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"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
qcow2.xml
|
Loading…
Reference in New Issue