From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB1EEE9A048 for ; Thu, 19 Feb 2026 13:29:27 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1236273.1539011 (Exim 4.92) (envelope-from ) id 1vt45k-0006Ru-T0; Thu, 19 Feb 2026 13:29:16 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1236273.1539011; Thu, 19 Feb 2026 13:29:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vt45k-0006Rn-PG; Thu, 19 Feb 2026 13:29:16 +0000 Received: by outflank-mailman (input) for mailman id 1236273; Thu, 19 Feb 2026 13:29:14 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vt45i-00064f-Bm for xen-devel@lists.xenproject.org; Thu, 19 Feb 2026 13:29:14 +0000 Received: from mx1.somlen.de (typhoon.somlen.de [89.238.64.140]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id f9cb4172-0d96-11f1-b164-2bf370ae4941; Thu, 19 Feb 2026 14:29:11 +0100 (CET) Received: by mx1.somlen.de with ESMTPSA id 6F6F95030D0; Thu, 19 Feb 2026 14:29:10 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f9cb4172-0d96-11f1-b164-2bf370ae4941 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daemonizer.de; s=202303; t=1771507750; h=from:from: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=UYCYLf3Qbb8Q/36IvP2edHC4iIn3vZFJTLRG5oXBiDc=; b=pqcQKLJ5mDxPHH5cRkdxCDCkFUghGgX/jSuTidg0OHOB594p5JcDQTU5n306VtUXYytS4K OzSl+fnfkaU/ZUnD1J4kEb6xyBKYKCbolcQj6mNWm1gaudbpE+5MLGjWJPsJOS/oW+jjhy 2ahcWdH0BuipYfPG8HuFB/rKG/dIYC7oJWvaBDAeT4+MJnjj/BYpGdxCKIQjk8cZ1vG7Jt XHoYes87ESAfOOXGvhP9pdl4TkAA951cF//4WZ4qlEoWDVpRjIuNDnMDZay/1+6D7HuOo+ T3pfz+0fFflAyUar2gbY63havN6F0QWuykcF1MU+xFtIN1ZzvEpEgsYZYigKHA== From: Maximilian Engelhardt To: xen-devel@lists.xenproject.org, Anthony PERARD Cc: Jan Beulich , Anthony PERARD , Juergen Gross Subject: Re: [XEN PATCH] libxl: Fix device_add QMP calls with QEMU 9.2 and newer Date: Thu, 19 Feb 2026 14:29:07 +0100 Message-ID: <2692705.Lt9SDvczpP@localhost> In-Reply-To: References: <20251215135124.11410-1-anthony@xenproject.org> <92e6ecac-7a5f-4831-8116-0c34856f1175@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Monday, 15 December 2025 15:41:02 CET Anthony PERARD wrote: > On Mon, Dec 15, 2025 at 03:11:53PM +0100, Jan Beulich wrote: > > On 15.12.2025 14:51, Anthony PERARD wrote: > > > From: Anthony PERARD > > > > > > QEMU used to ignore JSON types and do conversion string <-> integer > > > automatically for the command "device_add", but that was removed in > > > QEMU 9.2 (428d1789df91 ("docs/about: Belatedly document tightening of > > > QMP device_add checking")). > > > > And older qemu accepts integers as well? > > As the QEMU document explains about the removed feature is that they > should. We already have two users of `device_add` which use integers for > some arguments. And just to be sure, I've just tested with QEMU 8.0, the > patch works fine. > > Cheers, Can this patch be picked for the stable branches? I'm in particular interested in 4.20 which is in Debian stable. Thanks, Maxi