Re: [PATCH 08/14] qemu: Move cpuset preference evaluation into a separate function

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

 



On Wed, Mar 08, 2023 at 12:14:35PM +0100, Michal Privoznik wrote:
> The set of if()-s that determines the preference in cpumask used
> for setting things like emulatorpin, vcpupin, etc. is going to be
> re-used. Separate it out into a function.
>
> You may think that this changes behaviour, but
> qemuProcessPrepareDomainNUMAPlacement() ensures that
> priv->autoCpuset is set for VIR_DOMAIN_CPU_PLACEMENT_MODE_AUTO.
>
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_domain.c  | 18 ++++++++++++++++++
>  src/qemu/qemu_domain.h  |  5 +++++
>  src/qemu/qemu_process.c |  9 ++-------
>  3 files changed, 25 insertions(+), 7 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