[PATCH v2 6/9] virCommand: Introduce APIs for core scheduling

Daniel P. Berrangé berrange at redhat.com
Wed Jul 13 15:47:34 UTC 2022


On Mon, Jun 27, 2022 at 12:44:38PM +0200, Michal Privoznik wrote:
> There are two modes of core scheduling that are handy wrt
> virCommand:
> 
> 1) create new trusted group when executing a virCommand
> 
> 2) place freshly executed virCommand into the trusted group of
>    another process.
> 
> Therefore, implement these two new operations as new APIs:
> virCommandSetRunAlone() and virCommandSetRunAmong(),
> respectively.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/libvirt_private.syms |  2 ++
>  src/util/vircommand.c    | 63 ++++++++++++++++++++++++++++++++++++++++
>  src/util/vircommand.h    |  5 ++++
>  3 files changed, 70 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the libvir-list mailing list