[PATCH 10/14] qemu: Add @nodemaskRet argument to qemuBuildMemoryBackendProps()
Kristina Hanicova
khanicov at redhat.com
Mon Mar 13 16:05:09 UTC 2023
On Wed, Mar 8, 2023 at 12:16 PM Michal Privoznik <mprivozn at redhat.com>
wrote:
> While it's true that anybody who's interested in getting
> .host-nodes attribute value can just use
> virJSONValueObjectGetArray() (and that's exactly what
> qemuBuildThreadContextProps() is doing, btw), it somebody is
>
*if
> interested in getting the actual virBitmap, they would have to
> parse the JSON array.
>
> Instead, introduce an argument to qemuBuildMemoryBackendProps()
> which is set to corresponding value used when formatting the
> attribute.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_command.c | 40 ++++++++++++++++++++++++----------------
> src/qemu/qemu_command.h | 4 +++-
> src/qemu/qemu_hotplug.c | 2 +-
> 3 files changed, 28 insertions(+), 18 deletions(-)
>
Reviewed-by: Kristina Hanicova <khanicov at redhat.com>
Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230313/4c4ae9ef/attachment.htm>
More information about the libvir-list
mailing list