Re: [libvirt PATCH 07/13] ch_monitor: Get nicindexes in prep for cgroup mgmt

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

 



On 10/22/21 5:37 PM, Praveen K Paladugu wrote:
> From: Vineeth Pillai <viremana@xxxxxxxxxxxxxxxxxxx>
> 
> Signed-off-by: Vineeth Pillai <viremana@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Praveen Paladugu <prapal@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Praveen K Paladugu <prapal@xxxxxxxxxxxxxxxxxxx>
> ---
>  src/ch/ch_conf.h    |  5 +++
>  src/ch/ch_domain.c  | 26 +++++++++++++-
>  src/ch/ch_domain.h  |  4 +--
>  src/ch/ch_driver.c  |  4 ++-
>  src/ch/ch_monitor.c | 85 +++++++++++++++++++++++++++++++++++++++++----
>  src/ch/ch_monitor.h | 14 +++++++-
>  src/ch/ch_process.c |  6 +++-
>  src/ch/meson.build  |  1 +
>  8 files changed, 132 insertions(+), 13 deletions(-)
> 
> diff --git a/src/ch/ch_conf.h b/src/ch/ch_conf.h
> index 37c36d9a09..49f286f97a 100644
> --- a/src/ch/ch_conf.h
> +++ b/src/ch/ch_conf.h
> @@ -44,6 +44,11 @@ struct _virCHDriver
>  {
>      virMutex lock;
>  
> +    bool privileged;
> +
> +    /* Embedded Mode: Not yet supported */
> +    char *embeddedRoot;

I'd rather not introduce this member and pass NULL to
virDomainDriverGenerateMachineName() below directly. embeddedRoot is
completely different beast and it may create false beliefs upon seeing
this declaration.

Michal




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

  Powered by Linux