From nobody Mon Sep 21 03:43:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) client-ip=38.145.34.151; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1784210551; cv=none; d=zohomail.com; s=zohoarc; b=TaJOWa3x3nTCHOfKUJnN9ILJf9kHLKGhADiLPb7CXrABSsb473S0qkgp/ffdZp0YDNjUMH63cTt/EJdq3ePCztLJsexjLdznjQr1wCvBUC9Yu0TZeyNztUYxmxHCeMu8ErnBoGb22EbzkFm0JywA32EV61/fjT27FCJfqrFXB6g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1784210551; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=67njpH394yqnhU+kLSvOGIdhjGhrxQC71AL4W2joXhw=; b=USebG8nl+3UBVq1ZEyjuXUVikym2r2FSFL3+F5ko2kMINTq4jSa+nWoZAK563iaDHUuIYNcLP4fHCf0lV7g/cIgCgQ5ex2aDS4MkVm2xlDcf7HW0g7reXo4oYcjSIh9TOY3oDyHHGKom3PodnLFcpUIg/VrtpaR0f/+Ycix0mvY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [38.145.34.151]) by mx.zohomail.com with SMTPS id 1784210551101503.56172404044923; Thu, 16 Jul 2026 07:02:31 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 0502141DC0; Thu, 16 Jul 2026 10:02:29 -0400 (EDT) Received: from [172.19.199.10] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id A3DC841E66; Thu, 16 Jul 2026 09:55:25 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 5319C41B81; Thu, 16 Jul 2026 09:55:06 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id E729541B88 for ; Thu, 16 Jul 2026 09:55:04 -0400 (EDT) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-9-jHtalJ_SP_C9itAi_6NFmg-1; Thu, 16 Jul 2026 09:55:02 -0400 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C5966180062C for ; Thu, 16 Jul 2026 13:55:01 +0000 (UTC) Received: from speedmetal.lan (unknown [10.44.24.17]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 192D218002A0 for ; Thu, 16 Jul 2026 13:55:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1784210104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=67njpH394yqnhU+kLSvOGIdhjGhrxQC71AL4W2joXhw=; b=ZfVDx4Tr5t4aftGJI+qsIsjIUibB2YqPEeyiO4JZSmcHB6SbTft2k0ppc4s3/sczt3aB02 bJ+DW2vUHOU88F0PSj3qgHrd513Goy63QAzrlub3boc39hSRHrKDGtr51C2SHA0QaoFSEY LxchxO49C8t698ftpLA58pmh+dty6Ws= X-MC-Unique: jHtalJ_SP_C9itAi_6NFmg-1 X-Mimecast-MFC-AGG-ID: jHtalJ_SP_C9itAi_6NFmg_1784210101 To: devel@lists.libvirt.org Subject: [PATCH 3/7] qemuMonitorJSONIOProcessLine: Log monitor object pointer in debug message Date: Thu, 16 Jul 2026 15:54:51 +0200 Message-ID: <575c89b0236e167ec6eed816903fe514ec3a9e31.1784210066.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Xqb9TYt2-U-yXdg_3KIlx8jjJ10W6bJNCFUMeErLbD0_1784210101 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: PUTTJ4HOJ5GBHQNSOZAQG333M7NSL4E3 X-Message-ID-Hash: PUTTJ4HOJ5GBHQNSOZAQG333M7NSL4E3 X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1784210551983158500 Content-Type: text/plain; charset="utf-8" From: Peter Krempa The debug message recording the string we've got to process didn't specify which monitor object the reply comes from which makes it harder to follow what's happening in cases when multiple VMs communicate (e.g. when reconnecting at startup). Signed-off-by: Peter Krempa --- src/qemu/qemu_monitor_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 28f7d93834..21f4d613b7 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -214,7 +214,7 @@ qemuMonitorJSONIOProcessLine(qemuMonitor *mon, { g_autoptr(virJSONValue) obj =3D NULL; - VIR_DEBUG("Line [%s]", line); + VIR_DEBUG("mon=3D0x%p line=3D[%s]", mon, line); if (!(obj =3D virJSONValueFromString(line))) return -1; --=20 2.55.0