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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux