From nobody Wed Sep 23 10:36:16 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=1784647176; cv=none; d=zohomail.com; s=zohoarc; b=ELVGihu8fHhnZX/acU52+aVR9qY0UCky0/4bDXLb3wVIrMFiGv+yf8hYZBrp/aLnorEr04Bj0kcOh27+7LGxkghGd5oKw0OU+gQe2mOCmrGzF0FlJLJzhryvgazhj+jtpiq5jKU42ybUcawBZXKhJV6FzGxVFBYZiMf0VOibk44= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1784647176; 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=JXjyvwSpohxFfD6Drh1JWumLnUsD0wxT+30SzE9yR/w=; b=P9Jnyn6bi+th+3itkW/m+MlK2Z1xZPgkobd1hNfV9lqUivDtfNGJBvyyBoVVRrAOs4RoyHbwvZ4JaMynbueaHYHr1hwZ2B/vNODCrb/+SvIHFRIgc/sWmiUEgkaPCawxoDLesonI/jmFZzq9OKcgZbMVBa+ZJadPxDKVKzZ+VT0= 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 178464717636613.49687398498179; Tue, 21 Jul 2026 08:19:36 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 7120341C14; Tue, 21 Jul 2026 11:19:34 -0400 (EDT) Received: from [172.19.199.10] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id 9CEDC41DDC; Tue, 21 Jul 2026 11:17:49 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 616B53F880; Tue, 21 Jul 2026 11:17:34 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 094CE4190B for ; Tue, 21 Jul 2026 11:17:30 -0400 (EDT) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-638-fQ3_4PVcMbyfW10k_Hpc6g-1; Tue, 21 Jul 2026 11:17:28 -0400 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6E45B195C27A for ; Tue, 21 Jul 2026 15:17:27 +0000 (UTC) Received: from speedmetal.lan (unknown [10.44.24.17]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B7FAD1955F7E for ; Tue, 21 Jul 2026 15:17:26 +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=0.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_PASS autolearn=no autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1784647049; 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=JXjyvwSpohxFfD6Drh1JWumLnUsD0wxT+30SzE9yR/w=; b=fAJ+u2CKzKpkQzrsMwoRv4mjNYNBg0aoyInSpBbpuaWwLCBAjvp8tNU3DlVEEEeFd3uvlm BC11xuLSoWlDaTrPrRsfJdjgL2YpDj16fbLkEMZpWYGefyF//mwNBR95f3y/if+K4KmdKl F5f7Cbyk3JZQrCXFeWBjYwapt9DZR8s= X-MC-Unique: fQ3_4PVcMbyfW10k_Hpc6g-1 X-Mimecast-MFC-AGG-ID: fQ3_4PVcMbyfW10k_Hpc6g_1784647047 To: devel@lists.libvirt.org Subject: [PATCH 2/4] libvirt-qemu: Add reference to QMP protocol documentation Date: Tue, 21 Jul 2026 17:17:20 +0200 Message-ID: <0b858140bc3af4f64c42f57c1c9e1066b820b6c3.1784647021.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: J-SjIeAOw1qRGnKqQGeDC7BaqX7EqIXSQF2tXTQ0j58_1784647047 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: XF7V6IQKQEKEPT5AO6RDAHNRWZKDN6TU X-Message-ID-Hash: XF7V6IQKQEKEPT5AO6RDAHNRWZKDN6TU 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: 1784647178047158500 Content-Type: text/plain; charset="utf-8" From: Peter Krempa Add link to the qemu QMP protocol reference. Signed-off-by: Peter Krempa --- src/libvirt-qemu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libvirt-qemu.c b/src/libvirt-qemu.c index 2898b71983..d6c68083f2 100644 --- a/src/libvirt-qemu.c +++ b/src/libvirt-qemu.c @@ -51,6 +51,9 @@ VIR_LOG_INIT("libvirt-qemu"); * libvirt is possible as a means to test new QEMU features before * they have support in libvirt, but no guarantees are made to safety * + * QEMU expects the command @cmd to be in the QMP format which is document= ed at + * https://www.qemu.org/docs/master/interop/qmp-spec.html + * * If VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP is set, the command is * considered to be a human monitor command and libvirt will automatically * convert it into QMP if needed. In that case the @result will also @@ -123,6 +126,9 @@ virDomainQemuMonitorCommand(virDomainPtr domain, const = char *cmd, * libvirt is possible as a means to test new QEMU features before * they have support in libvirt, but no guarantees are made to safety * + * QEMU expects the command @cmd to be in the QMP format which is document= ed at + * https://www.qemu.org/docs/master/interop/qmp-spec.html + * * If VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP is set, the command is * considered to be a human monitor command and libvirt will automatically * convert it into QMP if needed. In that case the @result will also --=20 2.55.0