From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61E49328B77 for ; Thu, 22 Jan 2026 14:03:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769090615; cv=none; b=K6/tSsMKQIU+dOiR88BfrObmgcaC8TAc8wXjLj7smhDvL6bL6fBgEz8yw4MSsX7+FnczfiHfcW2lEKN2FvLYlsbqKIVzEyycHGlYipSt4KRJfSdWetsiPJIme+qqyZ8+kzSqGvUgu7f8p26InN/aQ/RHr6J81iBa8s4xLr3PM58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769090615; c=relaxed/simple; bh=P49x7mRLDJdWMtytHUEI5iAVkz27dkvaOPV4gHVzlww=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uSRdKOmw35wDxs1xQgABw5SeLTT2n727aqqG/qgwpHzavjBFXeFUhua4whaxGR+i4xmTS+O8HKcJWBL7pIfmokJhsRm8HPP2TxKt0bw6FHdnr2kZWnqkbJrzsXTYTu5ijvJMsg/IrqSliTv2hGsfDTGOZBWqdWcgNFwIDTiX2w8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=a7y4B1mr; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="a7y4B1mr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769090612; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L/bbK9NHZ3/kLc4d6N5yR+dpW0QJwh6SZPuZRK4Yq3I=; b=a7y4B1mr8lDEKnoeTeH3jYr6xGjEgSCxZycd/8ntoobHqbNyUXfrsXy4Xy5SK1+ucu+q4a 7MRNZVgHFtiF1n0BjA87yevxwb5y9vYzKC6sGKx9B+dxBISSx1lHXzaCCTIbIe/+y5g84u HcpNbP3D/wULWndO2Gm1fe6LpnKZdsg= 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-570-D05U24p3NkSPVCKr2oBHgQ-1; Thu, 22 Jan 2026 09:03:29 -0500 X-MC-Unique: D05U24p3NkSPVCKr2oBHgQ-1 X-Mimecast-MFC-AGG-ID: D05U24p3NkSPVCKr2oBHgQ_1769090608 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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C273D1886244; Thu, 22 Jan 2026 14:03:19 +0000 (UTC) Received: from redhat.com (unknown [10.42.28.63]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8781B1958DC5; Thu, 22 Jan 2026 14:03:14 +0000 (UTC) Date: Thu, 22 Jan 2026 14:03:11 +0000 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: Markus Armbruster Cc: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , Stefan Hajnoczi , qemu-devel , kvm , Helge Deller , Oliver Steffen , Stefano Garzarella , Matias Ezequiel Vara Larsen , Kevin Wolf , German Maglione , Hanna Reitz , Paolo Bonzini , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Thomas Huth , Mark Cave-Ayland , Alex Bennee , Pierrick Bouvier Subject: Re: Modern HMP Message-ID: Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <871pjigf6z.fsf_-_@pond.sub.org> <87ikctg8a8.fsf@pond.sub.org> <875x8teqxj.fsf@pond.sub.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875x8teqxj.fsf@pond.sub.org> User-Agent: Mutt/2.2.14 (2025-02-20) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 On Thu, Jan 22, 2026 at 02:07:52PM +0100, Markus Armbruster wrote: > Daniel P. Berrangé writes: > > > On Thu, Jan 22, 2026 at 01:07:43PM +0100, Markus Armbruster wrote: > > [...] > > >> Marc-André proposed Python or Rust. Anyone got a preference backed by > >> reasons? > > > > My suggestion would be Rust, as it allows the possibility to embed > > that Rust impl inside the current QEMU binaries, to fully replace > > the C code and retain broadly the same functionality. > > > > We might never do it, but it feels like a good idea to keep the > > door option. Python rules that out entirely meaning we keep the > > current C code forever, unless we do a full break with command > > line compatibility at some point. > > qemu-system-FOO could conceivably spawn the standalone HMP program > connected to a dedicated QMP monitor. Certainly a technical option, but I would consider it undesirable to impose the python runtime on all current usage of QEMU that wants HMP. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|