]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: hostmem: Make parameters for 'virHostMemSetParameters' introspectable
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Apr 2026 11:13:52 +0000 (13:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 14 May 2026 10:13:10 +0000 (12:13 +0200)
commit3281beb95714efe548e027fa7392bf556569d68d
tree3141fb17e49d266566e1609274467341864ba160
parentccb62a313f31b9b550a8ca93afad7ab562e78ee7
util: hostmem: Make parameters for 'virHostMemSetParameters' introspectable

Refactor the validation using 'virTypedParamsValidateTemplate' and
export the template so that 'qemuNodeSetMemoryParameters' can expose
them via introspection.

In addition since 'virHostMemSetParameters' is conditionally compiled,
platforms which don't support it will not expose given params.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/util/virhostmem.c
src/util/virhostmem.h