From patchwork Fri Sep 13 18:11:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 274837 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 4265C2C012F for ; Sat, 14 Sep 2013 04:12:58 +1000 (EST) Received: from localhost ([::1]:50582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKXrT-00041S-Ej for incoming@patchwork.ozlabs.org; Fri, 13 Sep 2013 14:12:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKXq5-0002Xg-EY for qemu-devel@nongnu.org; Fri, 13 Sep 2013 14:11:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKXpy-0003yD-5i for qemu-devel@nongnu.org; Fri, 13 Sep 2013 14:11:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKXpx-0003y4-Sk for qemu-devel@nongnu.org; Fri, 13 Sep 2013 14:11:22 -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 r8DIBLw6016379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Sep 2013 14:11:21 -0400 Received: from localhost (ovpn-113-103.phx2.redhat.com [10.3.113.103]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r8DIBKli006152; Fri, 13 Sep 2013 14:11:21 -0400 From: Luiz Capitulino To: qemu-devel@nongnu.org Date: Fri, 13 Sep 2013 14:11:13 -0400 Message-Id: <1379095878-21203-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1379095878-21203-1-git-send-email-lcapitulino@redhat.com> References: <1379095878-21203-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: armbru@redhat.com Subject: [Qemu-devel] [PATCH 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 --- {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 c551df1..21804f4 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: