[libvirt PATCH 14/16] qemu: use priv->logCtxt in qemuProcessLaunch
Peter Krempa
pkrempa at redhat.com
Wed Oct 6 08:46:01 UTC 2021
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 at redhat.com>
> ---
> 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.
More information about the libvir-list
mailing list