From patchwork Mon Oct 10 20:32:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 118828 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 54C38B71AB for ; Tue, 11 Oct 2011 07:33:06 +1100 (EST) Received: from localhost ([::1]:51709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDMWx-0002rq-Hf for incoming@patchwork.ozlabs.org; Mon, 10 Oct 2011 16:32:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDMWr-0002rg-Sz for qemu-devel@nongnu.org; Mon, 10 Oct 2011 16:32:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDMWr-00048d-30 for qemu-devel@nongnu.org; Mon, 10 Oct 2011 16:32:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDMWq-00048U-SG for qemu-devel@nongnu.org; Mon, 10 Oct 2011 16:32:53 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9AKWpC9024079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 10 Oct 2011 16:32:52 -0400 Received: from doriath (ovpn-113-138.phx2.redhat.com [10.3.113.138]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9AKWnMr031136; Mon, 10 Oct 2011 16:32:50 -0400 Date: Mon, 10 Oct 2011 17:32:49 -0300 From: Luiz Capitulino To: qemu-devel@nongnu.org Message-ID: <20111010173249.5bf04632@doriath> Organization: Red Hat Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 209.132.183.28 Cc: Jes.Sorensen@redhat.com, Eric Blake Subject: [Qemu-devel] [PATCH] QMP: Fix blockdev-snapshot-sync doc example X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Fix wrong command name. Reported-by: Eric Blake Signed-off-by: Luiz Capitulino --- qmp-commands.hx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index ea96191..9edb3b9 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -710,10 +710,10 @@ Arguments: Example: --> { "execute": "blockdev-snapshot", "arguments": { "device": "ide-hd0", - "snapshot-file": - "/some/place/my-image", - "format": "qcow2" } } +-> { "execute": "blockdev-snapshot-sync", "arguments": { "device": "ide-hd0", + "snapshot-file": + "/some/place/my-image", + "format": "qcow2" } } <- { "return": {} } EQMP