[libvirt] [PATCH] qemuSetupCgroupForVcpu: s/virProcessInfoSetAffinity/virProcessSetAffinity/

Daniel P. Berrange berrange at redhat.com
Thu May 22 10:35:11 UTC 2014


On Thu, May 22, 2014 at 12:32:02PM +0200, Michal Privoznik wrote:
> In the f56c773bf we've made the substitution but forgot to fix one
> comment which is still referring to the old name. This may be
> potentially misleading.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_cgroup.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
> index 911936e..b1bfb5a 100644
> --- a/src/qemu/qemu_cgroup.c
> +++ b/src/qemu/qemu_cgroup.c
> @@ -904,8 +904,7 @@ qemuSetupCgroupForVcpu(virDomainObjPtr vm)
>      }
>  
>      /* We are trying to setup cgroups for CPU pinning, which can also be done
> -     * with virProcessInfoSetAffinity, thus the lack of cgroups is not fatal
> -     * here.
> +     * with virProcessSetAffinity, thus the lack of cgroups is not fatal here.
>       */
>      if (priv->cgroup == NULL)
>          return 0;

ACK, trivial


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 :|




More information about the libvir-list mailing list