]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add @nodemask argument to qemuBuildThreadContextProps()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Mar 2023 11:39:47 +0000 (12:39 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Mar 2023 11:46:52 +0000 (12:46 +0100)
commit45222a83b76e05a522afc8743a77ca320feb72f2
treef50ef005a1ef6f3047950da492d008a67060e988
parent9f26f6cc4bd6161a1978b8703005b9916270d382
qemu: Add @nodemask argument to qemuBuildThreadContextProps()

When building a thread-context object (inside of
qemuBuildThreadContextProps()) we look at given memory-backend-*
object and look for .host-nodes attribute. This works, as long as
we need to just copy the attribute value into another
thread-context attribute. But soon we will need to adjust it.
That's the point where having the value in virBitmap comes handy.
Utilize the previous commit, which made
qemuBuildMemoryBackendProps() set the argument and pass it into
qemuBuildThreadContextProps().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h