[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/5] qtest: Add scripts/qtest/qtest.py
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/5] qtest: Add scripts/qtest/qtest.py |
Date: |
Tue, 26 Aug 2014 14:21:59 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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..0000000
> --- a/scripts/qtest
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -#!/bin/sh
> -
> -export QTEST_QEMU_BINARY=$1
> -shift
> -"$@"
Why delete this? The script is unrelated to qtest.py.
I think nothing uses scripts/qtest so it could be deleted in a separate
commit if you feel that is worthwhile.
> +import errno
> +import socket
> +
> +class QEMUQtestProtocol:
Using new-style classes is probably a good idea:
class QEMUQtestProtocol(object):
https://docs.python.org/2.7/reference/datamodel.html#newstyle
pgpOIfC8CHOS6.pgp
Description: PGP signature
- Re: [Qemu-devel] [PATCH v4 2/5] qtest: Add scripts/qtest/qtest.py,
Stefan Hajnoczi <=