[PATCH 07/15] qemu: Assume QEMU_CAPS_OBJECT_MEMORY_FILE

Ján Tomko jtomko at redhat.com
Fri Nov 4 09:30:02 UTC 2022


On a Thursday in 2022, Michal Privoznik wrote:
>Introduced in QEMU's commit of v2.1.0-rc0~41^2~26 only for Linux,
>and later in v3.1.0-rc0~71^2~10 for all POSIX, the
>memory-backend-file is going to be present for all QEMU versions
>we support (4.2.0, currently). Therefore, we can assume the
>capability is always set and thus doesn't need to be checked for.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_capabilities.c                  |  9 ++---
> src/qemu/qemu_command.c                       | 13 ++------
> src/qemu/qemu_validate.c                      | 10 ------
> .../hugepages-default-1G-nodeset-2M.err       |  2 +-
> tests/qemuxml2argvtest.c                      | 33 ++++++-------------
> tests/qemuxml2xmltest.c                       | 26 +++++----------
> 6 files changed, 26 insertions(+), 67 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list