[PATCH 10/15] qemu: Assume QEMU_CAPS_OBJECT_MEMORY_FILE_DISCARD

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


On a Thursday in 2022, Michal Privoznik wrote:
>Introduced in QEMU's commit of v2.11.0-rc0~95^2~9 the .discard
>attribute of memory-backend-file is always available 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_command.c                           | 15 ++++-----------
> .../pages-dimm-discard.x86_64-latest.args         |  2 +-
> .../pages-discard-hugepages.x86_64-latest.args    |  2 +-
> 3 files changed, 6 insertions(+), 13 deletions(-)
>

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

Jano


More information about the libvir-list mailing list