[PATCH 11/14] qemu: Add @nodemask argument to qemuBuildThreadContextProps()
Andrea Bolognani
abologna at redhat.com
Mon Mar 13 17:47:19 UTC 2023
On Wed, Mar 08, 2023 at 12:14:38PM +0100, Michal Privoznik wrote:
> 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 at redhat.com>
> ---
> src/qemu/qemu_command.c | 38 +++++++++++++++++++++-----------------
> src/qemu/qemu_command.h | 3 ++-
> 2 files changed, 23 insertions(+), 18 deletions(-)
Reviewed-by: Andrea Bolognani <abologna at redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list