On a Thursday in 2023, Peter Krempa wrote:
This series implements two features:
- automatic size discovery when resizing a raw disk on a block device
- resizing of raw disks when a 'storage slice' is in use

Peter Krempa (10):
 qemu: block: Introduce helpers for properly testing for 'raw' and
   'luks' images
 qemu: Use qemuBlockStorageSourceIsQEMULuks/qemuBlockStorageSourceIsRaw
 qemuDomainBlockResize: Agregate all checks at the beginning
 vsh: Introduce simple version of VSH_ALTERNATIVE_OPTIONS_EXPR
 virDomainBlockResize: Introduce VIR_DOMAIN_BLOCK_RESIZE_CAPACITY
 qemuDomainBlockResize: Implement VIR_DOMAIN_BLOCK_RESIZE_CAPACITY
 qemu: block: Make 'slice' layer effective for 'raw' storage source
 qemu: block: Format storage slice properties optionally
 virStorageSourceSliceFree: Export function
 qemuDomainBlockResize: Properly resize disks with storage slice

docs/manpages/virsh.rst                       |   6 +-
include/libvirt/libvirt-domain.h              |   1 +
src/conf/storage_source_conf.c                |   2 +-
src/conf/storage_source_conf.h                |   2 +
src/libvirt-domain.c                          |   5 +
src/libvirt_private.syms                      |   1 +
src/qemu/qemu_block.c                         | 193 +++++++++++++-----
src/qemu/qemu_block.h                         |   9 +
src/qemu/qemu_command.c                       |   2 +-
src/qemu/qemu_driver.c                        |  99 ++++++++-
.../disk-slices.x86_64-latest.args            |  14 +-
tools/virsh-domain.c                          |  10 +-
tools/vsh.h                                   |   4 +
13 files changed, 276 insertions(+), 72 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-le...@lists.libvirt.org

Reply via email to