>>If you implement it inside qemu-server you have a race-condition, because >>you do it too late and qemu already started the threads? Or maybe only parts >>of necessary threads are already created?
Yes maybe, I don't have see race when I have tested it. new threads should go automatically to the same group than parent thread. I see some fix in libvirt about this kind of race https://www.redhat.com/archives/libvir-list/2013-May/msg01478.html >>So wouldn't it be easier to do it inside qemu? Maybe for you ;) Can't help for this sorry. ----- Mail original ----- De: "dietmar" <diet...@proxmox.com> À: "aderumier" <aderum...@odiso.com>, "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Jeudi 28 Mai 2015 12:51:23 Objet: Re: [pve-devel] qemu-server: cgroups && cpu.shares implementation > Here the patches serie for implemtation of cpuunits through cgroups If you implement it inside qemu-server you have a race-condition, because you do it too late and qemu already started the threads? Or maybe only parts of necessary threads are already created? So wouldn't it be easier to do it inside qemu? _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel