From patchwork Thu Mar 31 19:06:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797602 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 0AE2CC433F5 for ; Thu, 31 Mar 2022 19:09:09 +0000 (UTC) Received: from localhost ([::1]:42762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0AO-0004PW-4C for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:09:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na085-0006nN-LE for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:33342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na084-0003eJ-70 for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753603; 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=O5/DgB+uDZRwG34+Cq6Xms6i2F6fRqxjXYg5i7Z9o2Q=; b=PoN+78vZ3Xr344jq1EwWcd6Fu21GZWLOCUv7NIYuQU97ZCGlB5xpgcONAZSDJpzc/0z34r 7XQEXDmbmZwTIXyAkdoaZ4FPpTcll/ZKOLuJABeV+PAHObyDIULGqbM6g2qoO4a8XIUqOG dN7Mqsgih0ss6oI5LHTApffW/hJ0H4A= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-256-UhQbJj-nPxuLMGcTmkTsbQ-1; Thu, 31 Mar 2022 15:06:42 -0400 X-MC-Unique: UhQbJj-nPxuLMGcTmkTsbQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9C7D2811E78 for ; Thu, 31 Mar 2022 19:06:41 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 86B51401E78; Thu, 31 Mar 2022 19:06:38 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 1/9] qapi: fix example of netdev_add command Date: Thu, 31 Mar 2022 21:06:25 +0200 Message-Id: <20220331190633.121077-2-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Example output has the optional member @dnssearch as string type. It should be an array of strings instead. Fix it. For reference, see NetdevUserOptions. Signed-off-by: Victor Toso --- qapi/net.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi/net.json b/qapi/net.json index 0d4578bd07..efc0bae170 100644 --- a/qapi/net.json +++ b/qapi/net.json @@ -51,7 +51,7 @@ # # -> { "execute": "netdev_add", # "arguments": { "type": "user", "id": "netdev1", -# "dnssearch": "example.org" } } +# "dnssearch": [ "example.org" ] } } # <- { "return": {} } # ## From patchwork Thu Mar 31 19:06:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797613 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 AB7DBC433F5 for ; Thu, 31 Mar 2022 19:15:05 +0000 (UTC) Received: from localhost ([::1]:55726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0G8-0004q1-Kw for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:15:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08I-0006x7-6N for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:59 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:54760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08G-0003fi-HE for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753616; 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=qicLHuiI9nR/5fRXMEqnQFf+7AWLxsrEZkFPoylvhrc=; b=KM7Ed/ZrR39fuZTKCXD58+ww/soMRdrbT6GEHXYaUfKurEDPy0h2Mw+88onqKtQCSS3yvi DHY6hMe5BdsGASjvLWvFt3RO+KD8r4Eswmy93nIMp312fDWPUmwatIJi6A/+ue0pf6IT5d VgScVWVIzXYR4sAT+f/BtTye+R0DAO4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-192-tjJyEdcuN9aYAmkpmWE_jw-1; Thu, 31 Mar 2022 15:06:47 -0400 X-MC-Unique: tjJyEdcuN9aYAmkpmWE_jw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 88C75804184 for ; Thu, 31 Mar 2022 19:06:46 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 343AD401475; Thu, 31 Mar 2022 19:06:40 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 2/9] qapi: fix examples: replay-break and replay-seek Date: Thu, 31 Mar 2022 21:06:26 +0200 Message-Id: <20220331190633.121077-3-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Both examples outputs are using @data member for the arguments. This is wrong. The expected member for the QMP is @arguments. Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/replay.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qapi/replay.json b/qapi/replay.json index b4d1ba253b..351898f60d 100644 --- a/qapi/replay.json +++ b/qapi/replay.json @@ -81,7 +81,7 @@ # # Example: # -# -> { "execute": "replay-break", "data": { "icount": 220414 } } +# -> { "execute": "replay-break", "arguments": { "icount": 220414 } } # ## { 'command': 'replay-break', 'data': { 'icount': 'int' } } @@ -117,6 +117,6 @@ # # Example: # -# -> { "execute": "replay-seek", "data": { "icount": 220414 } } +# -> { "execute": "replay-seek", "arguments": { "icount": 220414 } } ## { 'command': 'replay-seek', 'data': { 'icount': 'int' } } From patchwork Thu Mar 31 19:06:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797606 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 B70DCC433EF for ; Thu, 31 Mar 2022 19:12:45 +0000 (UTC) Received: from localhost ([::1]:50870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0Ds-0001ak-6a for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:12:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08B-0006rC-JS for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:36640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08A-0003fB-6z for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753609; 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=TrIdlmL9eYt28OUWBt/CZSSP2v/kzo0x/pQWbHC8W8c=; b=aGWaFIFbe6kT0KhpOiOQotTr5WxEgMRm59m78G4Kp3btGfRMLTJynREgroi6xW0DKKjL9A 9INuDQFj19OZWYehjbZd9DYPicGSZ2W7nERlZ4ObjAweVBnjpVnOEI05TotWYm3hy5FLTU KkUstRZus7xQCuVvtHQPS4C1fYjZ2Ps= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-453-bIIXpCTkNDKU8xJwcyjhqg-1; Thu, 31 Mar 2022 15:06:46 -0400 X-MC-Unique: bIIXpCTkNDKU8xJwcyjhqg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 65FF93804513 for ; Thu, 31 Mar 2022 19:06:45 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD2D6401E64; Thu, 31 Mar 2022 19:06:43 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 3/9] qapi: fix example of query-named-block-nodes command Date: Thu, 31 Mar 2022 21:06:27 +0200 Message-Id: <20220331190633.121077-4-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.129.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Example output is missing mandatory member @detect_zeroes. Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/block-core.json | 1 + 1 file changed, 1 insertion(+) diff --git a/qapi/block-core.json b/qapi/block-core.json index 4a7a6940a3..beeb91952a 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1776,6 +1776,7 @@ # "file":"disks/test.qcow2", # "node-name": "my-node", # "backing_file_depth":1, +# "detect_zeroes":"off", # "bps":1000000, # "bps_rd":0, # "bps_wr":0, From patchwork Thu Mar 31 19:06:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797605 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 2455FC433F5 for ; Thu, 31 Mar 2022 19:11:22 +0000 (UTC) Received: from localhost ([::1]:48436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0CX-0008Gz-4g for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:11:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08B-0006r9-CF for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:47493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na089-0003f7-U1 for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753609; 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=4ZZUA6Huhp+P4k4oitGD8w6YiCI3+XCFRm1bWfqrAO4=; b=Gq2yvIEMX2bgAg7EoDCnWaegGFClXmmflaGpzFxwEGJ/h+J3L4F2n1yZVg55VS9SyeUNxD 6rqVXErt/bkUQkqTB2eBsiLY+jpxPnGu/jGTyHj8xVUWgk9ou5p0pdO/5L4tW44/uhzS5A NMnpBJUdoRuv6pfyrt0umeL/i0zrpHs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-317-86yJMmIeP4SGU2nUXCvshA-1; Thu, 31 Mar 2022 15:06:48 -0400 X-MC-Unique: 86yJMmIeP4SGU2nUXCvshA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7456E80005D for ; Thu, 31 Mar 2022 19:06:47 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 78367401E71; Thu, 31 Mar 2022 19:06:45 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 4/9] qapi: fix example of query-spice command Date: Thu, 31 Mar 2022 21:06:28 +0200 Message-Id: <20220331190633.121077-5-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.129.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Example output is missing mandatory members @migrated and @mouse-mode. Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/ui.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qapi/ui.json b/qapi/ui.json index a810ed680c..c039b8b3cb 100644 --- a/qapi/ui.json +++ b/qapi/ui.json @@ -324,8 +324,10 @@ # "enabled": true, # "auth": "spice", # "port": 5920, +# "migrated":false, # "tls-port": 5921, # "host": "0.0.0.0", +# "mouse-mode":"client", # "channels": [ # { # "port": "54924", From patchwork Thu Mar 31 19:06:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797601 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 B6E65C433EF for ; Thu, 31 Mar 2022 19:07:57 +0000 (UTC) Received: from localhost ([::1]:37038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na09E-0000cy-Tn for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:07:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08L-0006yR-E1 for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:07:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08J-0003gV-0p for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:07:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753618; 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=ODrq7whQXI7mtzeupBGPXZpw1bJaybF9D3PtdkwsI9Q=; b=g7bja7hslXVikc4nvBtfHMYSwN1lnsgfa6VPS6v3sKjJTa4Jya+fGu61kVVuc65fQZae7j LBHQJIs13uUmEkYjN90NlrPXmjaFk42sXIswM6UEnAqfIlM0llnYWs/ONyyPFNCoeyd1Cx L9esrx1jMTaYA/eCLM7I6VMnJKN2+Tk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-380-1rhDuK5vMO6EveYa0uOyJQ-1; Thu, 31 Mar 2022 15:06:57 -0400 X-MC-Unique: 1rhDuK5vMO6EveYa0uOyJQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F3656899EC2 for ; Thu, 31 Mar 2022 19:06:51 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0D0DF401E71; Thu, 31 Mar 2022 19:06:46 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 5/9] qapi: fix example of query-vnc command Date: Thu, 31 Mar 2022 21:06:29 +0200 Message-Id: <20220331190633.121077-6-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The return value is missing the mandatory member @websocket. Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/ui.json | 1 + 1 file changed, 1 insertion(+) diff --git a/qapi/ui.json b/qapi/ui.json index c039b8b3cb..13a8bb82aa 100644 --- a/qapi/ui.json +++ b/qapi/ui.json @@ -658,6 +658,7 @@ # "host":"127.0.0.1", # "service":"50401", # "family":"ipv4" +# "websocket":false, # } # ] # } From patchwork Thu Mar 31 19:06:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797600 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 128F4C433EF for ; Thu, 31 Mar 2022 19:07:55 +0000 (UTC) Received: from localhost ([::1]:36936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na09B-0000Z5-SK for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:07:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08H-0006x6-Qb for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:59 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:42734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08G-0003fe-FZ for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753615; 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=//vO2ocfNBIJd1EP02HNNXHI0IlTwTJeEOZIxCak5ps=; b=CjqI7k41VYpnsXsA5QorU9k3fs72+rqbwJgAqR4jUr9ZZmiEhu+M8JZ0j/bLoMxeFv6WYc 131Ld/0ODu1Opq40TKhxtuQGp0Esa6XIITGcgVz/UZEU97gMDnosrQ2367tQUvY1ORpwkV hn5+oYKADiVw103ddUvT/KV1rGkB1Ig= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-556-ZqMKuQP3NaayYrGagvlArw-1; Thu, 31 Mar 2022 15:06:52 -0400 X-MC-Unique: ZqMKuQP3NaayYrGagvlArw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5B3EA811E83 for ; Thu, 31 Mar 2022 19:06:51 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id C0C21401E93; Thu, 31 Mar 2022 19:06:49 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 6/9] qapi: fix example of query-colo-status command Date: Thu, 31 Mar 2022 21:06:30 +0200 Message-Id: <20220331190633.121077-7-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The example output is missing the mandatory member @last-mode in the return value. Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/migration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi/migration.json b/qapi/migration.json index 092a63354b..f74777608a 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1679,7 +1679,7 @@ # Example: # # -> { "execute": "query-colo-status" } -# <- { "return": { "mode": "primary", "reason": "request" } } +# <- { "return": { "mode": "primary", "last-mode": "none", "reason": "request" } } # # Since: 3.1 ## From patchwork Thu Mar 31 19:06:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797612 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 3D7AAC433EF for ; Thu, 31 Mar 2022 19:13:53 +0000 (UTC) Received: from localhost ([::1]:53010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0Ey-00031J-AL for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:13:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08H-0006vn-Pj for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:59 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:50935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08F-0003fa-Kh for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:06:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753615; 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=XsxStyYWkFgiWwub3AIfJaJ5nqrFaG+5BTOB9ZCkuoc=; b=FTsDZFQ2gafHB/D9CLeK61fqHsGnCRVlw+3paIwUuPmiQTUXQniQ0nWj8bRTR8b3Exgf7H PZmJ8J29TnocS2d4jyEcwIPockSBzn4wbqIYJZ/c26Igmp4+vBDrg8vpb5q0wYsX6Inmpi cgAFmjRwOLSkSpIxOuKXBWj8qGLxQAQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-347-1thf3C-NN-y5RV1iysUw2w-1; Thu, 31 Mar 2022 15:06:53 -0400 X-MC-Unique: 1thf3C-NN-y5RV1iysUw2w-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4C8241C0E357 for ; Thu, 31 Mar 2022 19:06:53 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5281A4021DE; Thu, 31 Mar 2022 19:06:51 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 7/9] qapi: fix example of trace-event-get-state command Date: Thu, 31 Mar 2022 21:06:31 +0200 Message-Id: <20220331190633.121077-8-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.129.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The example output is missing the mandatory member @vcpu. Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/trace.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi/trace.json b/qapi/trace.json index 119509f565..6c6982a587 100644 --- a/qapi/trace.json +++ b/qapi/trace.json @@ -69,7 +69,7 @@ # # -> { "execute": "trace-event-get-state", # "arguments": { "name": "qemu_memalign" } } -# <- { "return": [ { "name": "qemu_memalign", "state": "disabled" } ] } +# <- { "return": [ { "name": "qemu_memalign", "state": "disabled", "vcpu": false } ] } # ## { 'command': 'trace-event-get-state', From patchwork Thu Mar 31 19:06:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797603 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 DD99BC433EF for ; Thu, 31 Mar 2022 19:09:16 +0000 (UTC) Received: from localhost ([::1]:43362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0AW-0004pg-1G for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:09:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08L-0006yT-Eg for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:07:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08J-0003hM-D2 for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:07:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753618; 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=uJqAbkaXCg0b5r77MJBRBl9XZlSjStZ3gEwgrJ4zODg=; b=LEXW52xRSDq6HnfjFlHMs4D39dBfUD9PXlUdlMXkFQTHsIEwK4Kbb9KNB5niDpGCSfY06C LgPOBwGtKImFBv4jHFjXeuAbu1ABjpSxFAhG+S2U1E4Sj30T0uaOMt45zdXHponofpij1E 4wRTFATOgaqvn52nlqLggZr1OIzW2cs= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-224-t7fHs3vJOWGW9-chiVzDtg-1; Thu, 31 Mar 2022 15:06:57 -0400 X-MC-Unique: t7fHs3vJOWGW9-chiVzDtg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5F9343C1618E for ; Thu, 31 Mar 2022 19:06:56 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id D5912401E48; Thu, 31 Mar 2022 19:06:52 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 8/9] qapi: fix example of query-cpus-fast command Date: Thu, 31 Mar 2022 21:06:32 +0200 Message-Id: <20220331190633.121077-9-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Example output contains member @arch that was removed in 445a5b4087 "machine: remove 'arch' field from 'query-cpus-fast' QMP command". Fix it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/machine.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/qapi/machine.json b/qapi/machine.json index 9c460ec450..968f912989 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -109,7 +109,6 @@ # "socket-id": 0 # }, # "qom-path": "/machine/unattached/device[0]", -# "arch":"x86", # "target":"x86_64", # "cpu-index": 0 # }, @@ -121,7 +120,6 @@ # "socket-id": 1 # }, # "qom-path": "/machine/unattached/device[2]", -# "arch":"x86", # "target":"x86_64", # "cpu-index": 1 # } From patchwork Thu Mar 31 19:06:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Toso X-Patchwork-Id: 12797604 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 DEF0EC433FE for ; Thu, 31 Mar 2022 19:09:18 +0000 (UTC) Received: from localhost ([::1]:43464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0AX-0004tg-Uu for qemu-devel@archiver.kernel.org; Thu, 31 Mar 2022 15:09:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08M-00070v-LE for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:07:02 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:39499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08L-0003hj-5u for qemu-devel@nongnu.org; Thu, 31 Mar 2022 15:07:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648753620; 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=hYFHKeRhqUxYbnp2eJrwlfcxLi/bGeOTIUzD06FSPoM=; b=Iz9Nrjw8h9ADRoGHxvLC4r3lcXRxaA45O5NdP5PHYSjb3XAMI91u6Tl4dPKnyk3MHzIxi7 wHqyRdevf6GJIxdU7gmZXXYa2QPtyNEmrk+3cHhaAETiTgOuyl8XG9Pe3aGH2FcZgyhQI8 OvvPXYjQhKJ+42LCCsfD4mH85eHcHcQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-663-9B_dO3K6PmSYvAhaMqukoA-1; Thu, 31 Mar 2022 15:06:58 -0400 X-MC-Unique: 9B_dO3K6PmSYvAhaMqukoA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4E30A811E9B for ; Thu, 31 Mar 2022 19:06:58 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6D011401E64; Thu, 31 Mar 2022 19:06:55 +0000 (UTC) From: Victor Toso To: qemu-devel@nongnu.org Subject: [PATCH v1 9/9] qapi: fix example of query-memdev command Date: Thu, 31 Mar 2022 21:06:33 +0200 Message-Id: <20220331190633.121077-10-victortoso@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=victortoso@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.129.124; envelope-from=victortoso@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , Eric Blake , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Example output is missing mandatory argument @share for the return JSON object. Add it. Signed-off-by: Victor Toso Reviewed-by: Markus Armbruster --- qapi/machine.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qapi/machine.json b/qapi/machine.json index 968f912989..d25a481ce4 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -839,6 +839,7 @@ # "merge": false, # "dump": true, # "prealloc": false, +# "share": false, # "host-nodes": [0, 1], # "policy": "bind" # }, @@ -847,6 +848,7 @@ # "merge": false, # "dump": true, # "prealloc": true, +# "share": false, # "host-nodes": [2, 3], # "policy": "preferred" # } From patchwork Fri Apr 1 08:20:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 12797999 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 01BA0C433F5 for ; Fri, 1 Apr 2022 08:26:03 +0000 (UTC) Received: from localhost ([::1]:53254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naCba-0006sQ-Ke for qemu-devel@archiver.kernel.org; Fri, 01 Apr 2022 04:26:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naCWJ-0000gY-0x for qemu-devel@nongnu.org; Fri, 01 Apr 2022 04:20:36 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:59444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naCWG-00071e-HT for qemu-devel@nongnu.org; Fri, 01 Apr 2022 04:20:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648801231; 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=lp9GJ3zVcRvh1J7N+aY3VmwH1KDBUvJglDRLbfH4eC8=; b=Fa4Aq0U1ef5oOfykg/EeSzm64lCYhk+7sw+0/9jXw/MaCdj5UQC0iO4/KmKqa73vEQlohb eVcIxUgAtn9MrG/SEgSyXaf3OlVbhNHSD8h7REMHyZqy+wFkfrcAzRUn5dosBbaNFYxNVR hnKGqfDurKLmoQdfY4CVlAxCEMt9z+E= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-465-Ci6f3l2iN5SGaJn_um_yCg-1; Fri, 01 Apr 2022 04:20:30 -0400 X-MC-Unique: Ci6f3l2iN5SGaJn_um_yCg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E3CED3C11C6C for ; Fri, 1 Apr 2022 08:20:29 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.36.112.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE29F1454536; Fri, 1 Apr 2022 08:20:29 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 88E8C21E691D; Fri, 1 Apr 2022 10:20:28 +0200 (CEST) From: Markus Armbruster To: qemu-devel@nongnu.org Subject: [PATCH 10/9] qapi: Fix calc-dirty-rate example Date: Fri, 1 Apr 2022 10:20:28 +0200 Message-Id: <20220401082028.3583296-1-armbru@redhat.com> In-Reply-To: <20220331190633.121077-1-victortoso@redhat.com> References: <20220331190633.121077-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=armbru@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jsnow@redhat.com, eblake@redhat.com, victortoso@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The example shows {"command": ...}, which is wrong. Fix it to {"execute": ...}. Signed-off-by: Markus Armbruster Reviewed-by: Victor Toso --- qapi/migration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi/migration.json b/qapi/migration.json index f74777608a..27d7b28158 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1845,7 +1845,7 @@ # Since: 5.2 # # Example: -# {"command": "calc-dirty-rate", "arguments": {"calc-time": 1, +# {"execute": "calc-dirty-rate", "arguments": {"calc-time": 1, # 'sample-pages': 512} } # ##