[PATCH 0/4] qemu: Allow 'maxMemory' without 'slots' and fix slot validation for virtio-mem

Ján Tomko jtomko at redhat.com
Fri Jun 23 07:52:24 UTC 2023


On a Thursday in 2023, Peter Krempa wrote:
>First patch reworks memory specification to use the explicit 'size'
>parameter (since qemu v2.0.0-179-g6e1d3c1c85), the reset modifies memory
>hotplug related checks to properly handle non-DIMM devices which don't
>require DIMM slots.
>
>Peter Krempa (4):
>  qemu_command: Always use modern syntax of '-m'
>  qemu_domain: Properly validate count of memory slots
>  conf: Allow omitting 'slots' attribute of <maxMemory>
>  qemuxml2(argv|xml)test: Add case for validating proper DIMM slot
>    validation
>
> src/conf/domain_conf.c                        | 13 ++-
[...]
> .../x86_64-q35-graphics.x86_64-latest.args    |  2 +-
> .../x86_64-q35-headless.x86_64-latest.args    |  2 +-
> tests/qemuxml2argvtest.c                      |  1 +
> .../memory-hotplug-multiple.x86_64-latest.xml | 90 +++++++++++++++++++
> tests/qemuxml2xmltest.c                       |  1 +
> 906 files changed, 1180 insertions(+), 920 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/memory-hotplug-multiple.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/memory-hotplug-multiple.xml
> create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-multiple.x86_64-latest.xml
>

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: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230623/57813791/attachment.sig>


More information about the libvir-list mailing list