[PATCH v3 0/2] add support for discard_granularity

Kristina Hanicova posted 2 patches 8 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1692967372.git.khanicov@redhat.com
docs/formatdomain.rst                         |  6 ++-
src/conf/domain_conf.c                        | 19 +++++++-
src/conf/domain_conf.h                        |  1 +
src/conf/domain_validate.c                    |  3 +-
src/conf/schemas/domaincommon.rng             |  5 ++
src/qemu/qemu_command.c                       |  2 +
src/qemu/qemu_domain.c                        |  2 +
src/vz/vz_utils.c                             |  3 +-
.../disk-blockio.x86_64-latest.args           |  2 +-
tests/qemuxml2argvdata/disk-blockio.xml       |  2 +-
.../disk-blockio.x86_64-latest.xml            | 48 +++++++++++++++++++
tests/qemuxml2xmltest.c                       |  1 +
12 files changed, 88 insertions(+), 6 deletions(-)
create mode 100644 tests/qemuxml2xmloutdata/disk-blockio.x86_64-latest.xml
[PATCH v3 0/2] add support for discard_granularity
Posted by Kristina Hanicova 8 months, 1 week ago
v3 of:
https://listman.redhat.com/archives/libvir-list/2023-August/241452.html

diff to v2 (suggested by Peter):
* added note to the first commit
* enabled qemuxml2xmltest for blockio
* moved one hunk to the first commit

Kristina Hanicova (2):
  conf: add support for discard_granularity
  qemu: add support for discard_granularity

 docs/formatdomain.rst                         |  6 ++-
 src/conf/domain_conf.c                        | 19 +++++++-
 src/conf/domain_conf.h                        |  1 +
 src/conf/domain_validate.c                    |  3 +-
 src/conf/schemas/domaincommon.rng             |  5 ++
 src/qemu/qemu_command.c                       |  2 +
 src/qemu/qemu_domain.c                        |  2 +
 src/vz/vz_utils.c                             |  3 +-
 .../disk-blockio.x86_64-latest.args           |  2 +-
 tests/qemuxml2argvdata/disk-blockio.xml       |  2 +-
 .../disk-blockio.x86_64-latest.xml            | 48 +++++++++++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 12 files changed, 88 insertions(+), 6 deletions(-)
 create mode 100644 tests/qemuxml2xmloutdata/disk-blockio.x86_64-latest.xml

-- 
2.41.0
Re: [PATCH v3 0/2] add support for discard_granularity
Posted by Peter Krempa 8 months, 1 week ago
On Fri, Aug 25, 2023 at 14:50:30 +0200, Kristina Hanicova wrote:
> v3 of:
> https://listman.redhat.com/archives/libvir-list/2023-August/241452.html
> 
> diff to v2 (suggested by Peter):
> * added note to the first commit
> * enabled qemuxml2xmltest for blockio
> * moved one hunk to the first commit
> 
> Kristina Hanicova (2):
>   conf: add support for discard_granularity
>   qemu: add support for discard_granularity

I've added the docs statement that hypervisors usually pick a correct
value that I've requested in v2 and pushed this.