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 148A9F417EF for ; Mon, 9 Mar 2026 14:49:20 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1249544.1547018 (Exim 4.92) (envelope-from ) id 1vzbuq-0002oh-GZ; Mon, 09 Mar 2026 14:49:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1249544.1547018; Mon, 09 Mar 2026 14:49:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vzbuq-0002oa-Dp; Mon, 09 Mar 2026 14:49:04 +0000 Received: by outflank-mailman (input) for mailman id 1249544; Mon, 09 Mar 2026 14:49:03 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vzbup-0002oS-Of for xen-devel@lists.xenproject.org; Mon, 09 Mar 2026 14:49:03 +0000 Received: from mail132-19.atl131.mandrillapp.com (mail132-19.atl131.mandrillapp.com [198.2.132.19]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 19846cf6-1bc7-11f1-9ccf-f158ae23cfc8; Mon, 09 Mar 2026 15:48:57 +0100 (CET) Received: from pmta09.mandrill.prod.atl01.rsglab.com (localhost [127.0.0.1]) by mail132-19.atl131.mandrillapp.com (Mailchimp) with ESMTP id 4fV0JR4fpJz2lV for ; Mon, 9 Mar 2026 14:48:55 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 67f678a8485b4c94828b135b77d45798; Mon, 09 Mar 2026 14:48:55 +0000 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: 19846cf6-1bc7-11f1-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1773067735; x=1773337735; bh=NWg12KnlU08APrJpMjl9dwlSxHpfdbJzVp82wdhFnM0=; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=Qwzk+FnWJqJ3nJAA0v1B+jnHniSkZNyFWRbsQZpna/NvCTijObnuQ9mBQs+MwaXY/ jzEp3Sv1+AC2zAESeiolKZdkKbHGasPFGFNlZpm+o3EyM/8VbRdEk/6t6MabWCnA7y sxIuOPF+8FwsvFh2iOEPYAhDgrbNzwYQlpSf7ccQOG7W1doQxZ8rPMpC8yjmkciA0Z hcGx/0bsIOOSvRuE9arBgvI5eIGWXdFbDlrVpspdDfZcUyAwdjBrg3YzoIiSckULZm JPy9mGPBACv9O2N/3DmyZ4F4IayeviL+Bc7dHEHsRCUC5JQuDynzVw613+HwQltqew 62bHNYmJPFEew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1773067735; x=1773328235; i=anthony.perard@vates.tech; bh=NWg12KnlU08APrJpMjl9dwlSxHpfdbJzVp82wdhFnM0=; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=CECVm6uJAyQ6NaXVVuo7fMemNWA7A0z2fZc5vsFPCaHhHTbjWwM34I53qjeDu3JHm iyp5/HS40pXiQTj9nA4tS/w/cis6hw/fPGbm0KvfgDgJY/gcmFEKNOGSo83jtMmPu2 JMoBLwvxOZk6gm/FMlPYnNSb9zYVxFgBXRNACPLB6zoYTIOURIvYeWiFRty7UBbDwj 63Z8BABtAIG6YXXy6Bw/CR3jf+IOA8gqq2SLJHeVYDeixgYzt7l4R4XUyodieQv8aW 7wQjEQFeaFpOnGexMTzkIWiooS3RARFeaWD8wXfnGJPsFIYjtvDgEe4M7ZLOH+DebR +OFE8srOEIwpA== From: "Anthony PERARD" Subject: =?utf-8?Q?Re:=20[XEN=20PATCH]=20libxl:=20Fix=20device=5Fadd=20QMP=20calls=20with=20QEMU=209.2=20and=20newer?= X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1773067734786 To: "Maximilian Engelhardt" Cc: xen-devel@lists.xenproject.org, "Jan Beulich" , "Juergen Gross" Message-Id: References: <20251215135124.11410-1-anthony@xenproject.org> <92e6ecac-7a5f-4831-8116-0c34856f1175@suse.com> <2692705.Lt9SDvczpP@localhost> In-Reply-To: <2692705.Lt9SDvczpP@localhost> X-Native-Encoded: 1 X-Report-Abuse: =?UTF-8?Q?Please=20forward=20a=20copy=20of=20this=20message,=20including=20all=20headers,=20to=20abuse@mandrill.com.=20You=20can=20also=20report=20abuse=20here:=20https://mandrillapp.com/contact/abuse=3Fid=3D30504962.67f678a8485b4c94828b135b77d45798?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20260309:md Date: Mon, 09 Mar 2026 14:48:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On Thu, Feb 19, 2026 at 02:29:07PM +0100, Maximilian Engelhardt wrote: > 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. Done, thanks. -- Anthony Perard | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech