Re: [Qemu-devel] [PATCH v4 2/5] qtest: Add scripts/qtest/qtest.py

2014-08-26 Thread Fam Zheng
On Tue, 08/26 14:21, Stefan Hajnoczi wrote: > On Thu, Jun 05, 2014 at 04:47:43PM +0800, Fam Zheng wrote: > > diff --git a/scripts/qtest b/scripts/qtest > > deleted file mode 100755 > > index 4ef6c1c..000 > > --- a/scripts/qtest > > +++ /dev/null > > @@ -1,5 +0,0 @@ > > -#!/bin/sh > > - > > -exp

Re: [Qemu-devel] [PATCH v4 2/5] qtest: Add scripts/qtest/qtest.py

2014-08-26 Thread Stefan Hajnoczi
On Thu, Jun 05, 2014 at 04:47:43PM +0800, Fam Zheng wrote: > diff --git a/scripts/qtest b/scripts/qtest > deleted file mode 100755 > index 4ef6c1c..000 > --- a/scripts/qtest > +++ /dev/null > @@ -1,5 +0,0 @@ > -#!/bin/sh > - > -export QTEST_QEMU_BINARY=$1 > -shift > -"$@" Why delete this? The

[Qemu-devel] [PATCH v4 2/5] qtest: Add scripts/qtest/qtest.py

2014-06-05 Thread Fam Zheng
This removes the dummy scripts/qtest and adds scripts/qtest/qtest.py as a python library for qtest protocol. This is a skeleton with a basic "cmd" method to execute a command, reading and parsing of qtest output will be added later on demand. Signed-off-by: Fam Zheng Reviewed-by: Benoit Canet -