From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYyRb-0002rD-8h for qemu-devel@nongnu.org; Fri, 09 Dec 2011 06:16:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYyRa-0003Tv-0d for qemu-devel@nongnu.org; Fri, 09 Dec 2011 06:16:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYyRZ-0003Tr-QL for qemu-devel@nongnu.org; Fri, 09 Dec 2011 06:16:45 -0500 Message-ID: <4EE1EED7.6060900@redhat.com> Date: Fri, 09 Dec 2011 12:19:51 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1322857256-14951-1-git-send-email-aliguori@us.ibm.com> <1322857256-14951-19-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1322857256-14951-19-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 18/18] qom: add test tools (v2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Stefan Hajnoczi , Jan Kiszka , qemu-devel@nongnu.org, Luiz Capitulino , Gerd Hoffman , Markus Armbruster Am 02.12.2011 21:20, schrieb Anthony Liguori: > Signed-off-by: Anthony Liguori > --- > v1 -> v2 > - fix comments (Stefan) > --- > QMP/qom-get | 26 ++++++++++++++++++++++++++ > QMP/qom-list | 30 ++++++++++++++++++++++++++++++ > QMP/qom-set | 21 +++++++++++++++++++++ > 3 files changed, 77 insertions(+), 0 deletions(-) > create mode 100755 QMP/qom-get > create mode 100755 QMP/qom-list > create mode 100755 QMP/qom-set > > diff --git a/QMP/qom-get b/QMP/qom-get > new file mode 100755 > index 0000000..e6c063a > --- /dev/null > +++ b/QMP/qom-get > @@ -0,0 +1,26 @@ > +#!/usr/bin/python > +## > +# QEMU Object Model test tools > +# > +# Copyright IBM, Corp. 2011 > +# > +# Authors: > +# Anthony Liguori > +# > +# This work is licensed under the terms of the GNU GPL, version 2 or later. See > +# the COPYING file in the top-level directory. > +## > + > +import sys > +from qmp import QEMUMonitorProtocol > + > +srv = QEMUMonitorProtocol('/tmp/server.sock') Hard coding paths is fine for initial tests, but they probably shouldn't make their way into the git. :-) Kevin