Re: [PATCH v2 9/9] qemu: Place helper processes into the same trusted group

2022-08-10 Thread Michal Prívozník
On 7/13/22 18:25, Daniel P. Berrangé wrote: > On Mon, Jun 27, 2022 at 12:44:41PM +0200, Michal Privoznik wrote: >> Since the level of trust that QEMU has is the same level of trust >> that helper processes have there's no harm in placing all of them >> into the same group. >> >> Unfortunately, sinc

Re: [PATCH v2 9/9] qemu: Place helper processes into the same trusted group

2022-07-15 Thread Dario Faggioli
On Wed, 2022-07-13 at 17:25 +0100, Daniel P. Berrangé wrote: > It would need to use SCOPE_THREAD_GROUP, except even that is not > sufficient > as the helper may have fork+exec'd another helper by this point, and > our > call will only affect the first process. > > IOW, to set core scheduling cooki

Re: [PATCH v2 9/9] qemu: Place helper processes into the same trusted group

2022-07-13 Thread Daniel P . Berrangé
On Mon, Jun 27, 2022 at 12:44:41PM +0200, Michal Privoznik wrote: > Since the level of trust that QEMU has is the same level of trust > that helper processes have there's no harm in placing all of them > into the same group. > > Unfortunately, since these processes are started before QEMU we > can

[PATCH v2 9/9] qemu: Place helper processes into the same trusted group

2022-06-27 Thread Michal Privoznik
Since the level of trust that QEMU has is the same level of trust that helper processes have there's no harm in placing all of them into the same group. Unfortunately, since these processes are started before QEMU we can't use brand new virCommand*() APIs (those are used on hotplug though) and hav