[PATCH 00/10] qemu: Improve disk resizing on block devices and support resizing of disk with slice

Peter Krempa posted 10 patches 4 months, 2 weeks ago
Failed in applying to current master (apply log)
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(-)
[PATCH 00/10] qemu: Improve disk resizing on block devices and support resizing of disk with slice
Posted by Peter Krempa 4 months, 2 weeks ago
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(-)

-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 00/10] qemu: Improve disk resizing on block devices and support resizing of disk with slice
Posted by Ján Tomko 4 months, 2 weeks ago
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 <jtomko@redhat.com>

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