]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: virstorage: Add test data for json specified raw image with offset/size
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Jan 2020 15:02:15 +0000 (16:02 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Feb 2020 15:32:21 +0000 (16:32 +0100)
commit554ae62637fe4205b7f51a75e798be9223dfdc3d
treecde485e7a2f7f306bb5e07b73540ebe6d1c216d7
parent4e93c47576e4c9c37b34fc50707bee97e66d6a19
tests: virstorage: Add test data for json specified raw image with offset/size

QEMU allows specifying the offset and size into a raw file to expose a
sub-slice of the image to the guest with the raw driver. Libvirt
currently doesn't support it but we can add test case for future
reference.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virstoragetest.c