]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Assume QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Nov 2022 15:24:49 +0000 (16:24 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 4 Nov 2022 14:27:43 +0000 (15:27 +0100)
commit8d5c56462279e87bd00c1663d06ccb798dd809f7
treeafbc6d27b19f23910d2f47594c22f72fea9c6301
parent536f561d1317cc24346cfed185c694f39e839c0d
qemu: Assume QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN

Introduced in QEMU's commit of v2.12.0-rc0~148^2~4 the .align
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c