From patchwork Wed Sep 18 13:03:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 275710 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A7E462C00F1 for ; Wed, 18 Sep 2013 23:05:12 +1000 (EST) Received: from localhost ([::1]:46798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMHRO-0007ea-Eo for incoming@patchwork.ozlabs.org; Wed, 18 Sep 2013 09:05:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMHQh-0007Os-D5 for qemu-devel@nongnu.org; Wed, 18 Sep 2013 09:04:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMHQc-0004Zp-1u for qemu-devel@nongnu.org; Wed, 18 Sep 2013 09:04:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMHQb-0004Zg-Mw for qemu-devel@nongnu.org; Wed, 18 Sep 2013 09:04:21 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8ID3lxP032450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Sep 2013 09:03:48 -0400 Received: from localhost (ovpn-113-112.phx2.redhat.com [10.3.113.112]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r8ID3k4n012626; Wed, 18 Sep 2013 09:03:47 -0400 From: Luiz Capitulino To: anthony@codemonkey.ws Date: Wed, 18 Sep 2013 09:03:37 -0400 Message-Id: <1379509422-29115-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1379509422-29115-1-git-send-email-lcapitulino@redhat.com> References: <1379509422-29115-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 1/6] QMP: add scripts/qmp 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 Populate it with all scripts stored in QMP/. Also fixes trailing whitespaces in qmp-shell and qmp.py. Signed-off-by: Luiz Capitulino Reviewed-by: Eric Blake --- {QMP => scripts/qmp}/qemu-ga-client | 0 {QMP => scripts/qmp}/qmp | 0 {QMP => scripts/qmp}/qmp-shell | 2 +- {QMP => scripts/qmp}/qmp.py | 2 +- {QMP => scripts/qmp}/qom-fuse | 0 {QMP => scripts/qmp}/qom-get | 0 {QMP => scripts/qmp}/qom-list | 0 {QMP => scripts/qmp}/qom-set | 0 8 files changed, 2 insertions(+), 2 deletions(-) rename {QMP => scripts/qmp}/qemu-ga-client (100%) rename {QMP => scripts/qmp}/qmp (100%) rename {QMP => scripts/qmp}/qmp-shell (99%) rename {QMP => scripts/qmp}/qmp.py (99%) rename {QMP => scripts/qmp}/qom-fuse (100%) rename {QMP => scripts/qmp}/qom-get (100%) rename {QMP => scripts/qmp}/qom-list (100%) rename {QMP => scripts/qmp}/qom-set (100%) diff --git a/QMP/qom-fuse b/scripts/qmp/qom-fuse similarity index 100% rename from QMP/qom-fuse rename to scripts/qmp/qom-fuse diff --git a/QMP/qom-get b/scripts/qmp/qom-get similarity index 100% rename from QMP/qom-get rename to scripts/qmp/qom-get diff --git a/QMP/qom-list b/scripts/qmp/qom-list similarity index 100% rename from QMP/qom-list rename to scripts/qmp/qom-list diff --git a/QMP/qom-set b/scripts/qmp/qom-set similarity index 100% rename from QMP/qom-set rename to scripts/qmp/qom-set diff --git a/QMP/qemu-ga-client b/scripts/qmp/qemu-ga-client similarity index 100% rename from QMP/qemu-ga-client rename to scripts/qmp/qemu-ga-client diff --git a/QMP/qmp b/scripts/qmp/qmp similarity index 100% rename from QMP/qmp rename to scripts/qmp/qmp diff --git a/QMP/qmp-shell b/scripts/qmp/qmp-shell similarity index 99% rename from QMP/qmp-shell rename to scripts/qmp/qmp-shell index 73cb3b6..d6b420f 100755 --- a/QMP/qmp-shell +++ b/scripts/qmp/qmp-shell @@ -91,7 +91,7 @@ class QMPShell(qmp.QEMUMonitorProtocol): """ Build a QMP input object from a user provided command-line in the following format: - + < command-name > [ arg-name1=arg1 ] ... [ arg-nameN=argN ] """ cmdargs = cmdline.split() diff --git a/QMP/qmp.py b/scripts/qmp/qmp.py similarity index 99% rename from QMP/qmp.py rename to scripts/qmp/qmp.py index 074f09a..5c97175 100644 --- a/QMP/qmp.py +++ b/scripts/qmp/qmp.py @@ -1,5 +1,5 @@ # QEMU Monitor Protocol Python class -# +# # Copyright (C) 2009, 2010 Red Hat Inc. # # Authors: