[PATCH 2/4] qemu_capabilities: Detect memory-backend-*.prealloc-threads property

Martin Kletzander mkletzan at redhat.com
Thu Mar 24 09:26:45 UTC 2022


On Tue, Mar 22, 2022 at 04:05:15PM +0100, Michal Privoznik wrote:
>The prealloc-threads is property of memory-backend class which is
>parent to the other three classes memory-backend-{ram,file,memfd}.
>Therefore the property is present for all, or none if QEMU is
>older than v5.0.0-rc0~75^2~1^2~3 which introduced the property.
>
>Anyway, the .reserve property is the same story, and we chose
>memory-backend-file to detect it, so stick with our earlier
>decision and use the same backend to detect this new property.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220324/256eb8f1/attachment.sig>


More information about the libvir-list mailing list