[PATCH v3 13/15] qemu: Add support for slices of type 'storage'

Ján Tomko jtomko at redhat.com
Thu Feb 13 14:56:01 UTC 2020


On Wed, Feb 12, 2020 at 07:03:24PM +0100, Peter Krempa wrote:
>Implement support for the slice of type 'storage' which allows to set
>the offset and size which modifies where qemu should look for the start
>of the format container inside the image.
>
>Since slicing is done using the 'raw' driver we need to add another
>layer into the blockdev tree if there's any non-raw image format driver
>used to access the data.
>
>This patch adds the blockdev integration and setup of the image data so
>that we can use the slices for any backing image.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_block.c    | 68 +++++++++++++++++++++++++++++++++++++++-
> src/qemu/qemu_block.h    |  4 +++
> src/qemu/qemu_blockjob.c |  1 +
> src/qemu/qemu_command.c  |  8 +++++
> src/qemu/qemu_domain.c   |  4 +++
> 5 files changed, 84 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200213/6e344d04/attachment-0001.sig>


More information about the libvir-list mailing list