Re: [PATCH 5/5] [RFC] qemu: pass numa node binding preferences to qemu

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

 



On Wed, May 28, 2014 at 11:48:36AM +0200, Martin Kletzander wrote:
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index 4818cfb..b77914e 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -17524,7 +17524,7 @@ virDomainDefFormatInternal(virDomainDefPtr def,
>                  goto error;
>              }
>              virBufferAsprintf(buf,
> -                              "<memnode nodeid='%zu' mode='%s' nodeset='%s'/>\n",
> +                              "<memnode cellid='%zu' mode='%s' nodeset='%s'/>\n",
>                                i, mode, nodemask);
>              VIR_FREE(nodemask);
>          }

Presumably this belongs in an earlier patch in the series.

> diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
> index b1bfb5a..ce03a4f 100644
> --- a/src/qemu/qemu_cgroup.c
> +++ b/src/qemu/qemu_cgroup.c
> @@ -588,6 +588,8 @@ qemuSetupCpusetCgroup(virDomainObjPtr vm,
>      if (!virCgroupHasController(priv->cgroup, VIR_CGROUP_CONTROLLER_CPUSET))
>          return 0;
> 
> +    /* ASDF: per-node pinnings are not reflected here */

Are you refering to per-node vCPU pinnings here ?

We already have a per-vCPU pin capability in both the XML and the
cgroup setup code and the new <memnode> affinity mask you're adding
presumably only applies to memory, not vCPUs, otherwise we'd be
effectively having two places to set the same info.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]