From patchwork Thu Sep 22 09:23:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= X-Patchwork-Id: 673289 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sfsmM2tLXz9t1Y for ; Thu, 22 Sep 2016 20:14:27 +1000 (AEST) Received: from localhost ([::1]:35992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn11L-0007uR-Ug for incoming@patchwork.ozlabs.org; Thu, 22 Sep 2016 06:14:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0GM-0003AD-Ha for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:25:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0GJ-00047C-LQ for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:25:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0GJ-000475-Eb for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:25:47 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F2C53C04B95B for ; Thu, 22 Sep 2016 09:25:46 +0000 (UTC) Received: from localhost (ovpn-116-83.phx2.redhat.com [10.3.116.83]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8M9PhC4026308; Thu, 22 Sep 2016 05:25:45 -0400 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: qemu-devel@nongnu.org Date: Thu, 22 Sep 2016 13:23:02 +0400 Message-Id: <20160922092305.2895-28-marcandre.lureau@redhat.com> In-Reply-To: <20160922092305.2895-1-marcandre.lureau@redhat.com> References: <20160922092305.2895-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 22 Sep 2016 09:25:47 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 27/30] qmp-commands: move 'object-del' doc to schema X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , armbru@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Marc-André Lureau --- docs/qmp-commands.txt | 15 --------------- qapi-schema.json | 6 ++++++ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index ff83ea2..03d8c54 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -193,21 +193,6 @@ Example: <- { "return": { "status": "active", "completed": 1024000, "total": 2048000 } } -object-del ----------- - -Remove QOM object. - -Arguments: - -- "id": the object's ID (json-string) - -Example: - --> { "execute": "object-del", "arguments": { "id": "rng1" } } -<- { "return": {} } - - block_resize ------------ diff --git a/qapi-schema.json b/qapi-schema.json index f9528eb..b552378 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3317,6 +3317,12 @@ # Error if @id is not a valid id for a QOM object # # Since: 2.0 +# +# Example: +# +# -> { "execute": "object-del", "arguments": { "id": "rng1" } } +# <- { "return": {} } +# ## { 'command': 'object-del', 'data': {'id': 'str'} }