From nobody Sun Feb 8 19:56:43 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1644854316; cv=none; d=zohomail.com; s=zohoarc; b=it+KOGqBgseJWQfrMJSE7trMwTxdbFQXkaxcHhEtyMuvQk6tKbgdZWzAByp/NT5aETyXdiP0hDqBhfZSXeHJkJVmWz9DI0DU2uX22ruKpAIWFRNRNwXTlc1LWsNhOm6rFI5713DcT9aET9whqcmmIU6yLwi18Pgmt4Px1nHs6c4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644854316; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=eP4Aco3jjENNDXVh9j8r+A+fsg1HnYFipK8+tTRMjgs=; b=YwSxyzlMB2jJxUuoGJVwt65UsiQBiisT1ryzythJ5dD78XYGXmsZ+B5PHwNqOSSmFd6hTQhoOePnlTNlm5hQ62fgRqWHi6+4vQ6j8hFXMKWTYSjgjHR/IDhfAscqvSt4E3w087iKbmO4Lu1gKPh/jRWQSku8YFjKmaqHFn8Ey48= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1644854316326148.81223122133792; Mon, 14 Feb 2022 07:58:36 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-658-eOu1xFenOlSA3w-wTdeEXw-1; Mon, 14 Feb 2022 10:58:33 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 29A7F1091DA8; Mon, 14 Feb 2022 15:58:27 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0C28475535; Mon, 14 Feb 2022 15:58:27 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A7A5218077BC; Mon, 14 Feb 2022 15:58:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 21EFwDNl021418 for ; Mon, 14 Feb 2022 10:58:13 -0500 Received: by smtp.corp.redhat.com (Postfix) id 67988108C7; Mon, 14 Feb 2022 15:58:13 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id C06CB2A199 for ; Mon, 14 Feb 2022 15:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644854315; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=eP4Aco3jjENNDXVh9j8r+A+fsg1HnYFipK8+tTRMjgs=; b=hsybyMUbq3z1WkUWWAzXiJccqjfN4qjKDzYgd5WxR2A0Us2KemN5+Nnked1sHrYk6zFl2l MKlF7lkQATvDQrWiKC5UBqfn1p/uOxJC+7nxKmQ9/8oS6KfrUQPXCrLu3NYHDCfoInhe7F e4R6Eb6vsZm35zr1p+cdQjiFnsA64sk= X-MC-Unique: eOu1xFenOlSA3w-wTdeEXw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/6] qemu: monitor: Drop old monitor fields from 'struct _qemuMonitorMessage' Date: Mon, 14 Feb 2022 16:58:02 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1644854316937100001 Content-Type: text/plain; charset="utf-8" The fields are no longer used since we've deleted support for HMP-only qemus. The HMP command pass-through works via a QMP command. Signed-off-by: Peter Krempa --- src/qemu/qemu_monitor.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/qemu/qemu_monitor.h b/src/qemu/qemu_monitor.h index 4c22394972..12005ac624 100644 --- a/src/qemu/qemu_monitor.h +++ b/src/qemu/qemu_monitor.h @@ -43,15 +43,10 @@ struct _qemuMonitorMessage { int txOffset; int txLength; - /* Used by the text monitor reply / error */ - char *rxBuffer; - int rxLength; /* Used by the JSON monitor to hold reply / error */ void *rxObject; - /* True if rxBuffer / rxObject are ready, or a - * fatal error occurred on the monitor channel - */ + /* True if rxObject is ready, or a fatal error occurred on the monitor= channel */ bool finished; }; --=20 2.34.1