Re: [PATCH 11/14] qemu: Add @nodemask argument to qemuBuildThreadContextProps()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/qemu/qemu_command.c | 38 +++++++++++++++++++++-----------------
>  src/qemu/qemu_command.h |  3 ++-
>  2 files changed, 23 insertions(+), 18 deletions(-)

Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux