Re: [libvirt PATCH 14/16] qemu: use priv->logCtxt in qemuProcessLaunch

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

 



On Wed, Oct 06, 2021 at 09:15:20 +0200, Ján Tomko wrote:
> Remove the local variable in favor of the one stored in priv.
> 
> Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
> ---
>  src/qemu/qemu_process.c | 20 +++++++++-----------
>  1 file changed, 9 insertions(+), 11 deletions(-)
> 
> diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
> index 4a1fd753ee..17435c0ee9 100644
> --- a/src/qemu/qemu_process.c
> +++ b/src/qemu/qemu_process.c

[...]

> @@ -7228,25 +7227,24 @@ qemuProcessLaunch(virConnectPtr conn,
>      hookData.cfg = cfg;
>  
>      VIR_DEBUG("Creating domain log file");
> -    if (!(logCtxt = qemuDomainLogContextNew(driver, vm,
> +    if (!(priv->logCtxt = qemuDomainLogContextNew(driver, vm,
>                                              QEMU_DOMAIN_LOG_CONTEXT_MODE_START))) {a

Broken indentation.




[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