Re: [PATCH 05/10] ch_monitor: Make use of the PTY json builder

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

 



On 6/30/21 1:05 AM, William Douglas wrote:
> Call into the PTY json builder for configured serial and console
> devices though the devices themselves still aren't allowed in
> configuration.
> 
> Signed-off-by: William Douglas <william.douglas@xxxxxxxxx>
> ---
>  src/ch/ch_monitor.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c
> index d4289b75ce..2ade6967fb 100644
> --- a/src/ch/ch_monitor.c
> +++ b/src/ch/ch_monitor.c
> @@ -429,6 +429,9 @@ virCHMonitorBuildVMJson(virDomainDef *vmdef, char **jsonstr)
>          goto cleanup;
>      }
>  
> +    if (virCHMonitorBuildPTYJson(content, vmdef) < 0)
> +        goto cleanup;
> +
>      if (virCHMonitorBuildCPUJson(content, vmdef) < 0)
>          goto cleanup;
>  
> 

This can be merged with the previous patch.

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