From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpQBU-0004QQ-Dg for qemu-devel@nongnu.org; Mon, 23 Jan 2012 15:08:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpQBT-0000MR-0L for qemu-devel@nongnu.org; Mon, 23 Jan 2012 15:08:08 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:48436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpQBS-0000MM-TX for qemu-devel@nongnu.org; Mon, 23 Jan 2012 15:08:06 -0500 Received: by iahk25 with SMTP id k25so3146443iah.4 for ; Mon, 23 Jan 2012 12:08:06 -0800 (PST) Message-ID: <4F1DBE22.609@codemonkey.ws> Date: Mon, 23 Jan 2012 14:08:02 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <4F1DA926.4000709@siemens.com> <4F1DB21A.8090607@mail.berlios.de> <4F1DB2D0.9080301@siemens.com> <4F1DB432.3060804@mail.berlios.de> In-Reply-To: <4F1DB432.3060804@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Jan Kiszka , qemu-devel On 01/23/2012 01:25 PM, Stefan Weil wrote: > Am 23.01.2012 20:19, schrieb Jan Kiszka: >> On 2012-01-23 20:16, Stefan Weil wrote: >>> Am 23.01.2012 19:38, schrieb Jan Kiszka: >>> > [snip] >>> What about replacing the whole script by a python script? >>> That would save about 6 more forks :-) >> >> I think we have no python dependency in the build system yet - while we >> have for awk. That was also the original reason to go for a shell script. >> >> If the situation changed, I would not vote against python, for sure. >> >> Jan > > We do. Even configure will fail now without Python: > > if ! has $python; then > echo "Python not found. Use --python=/path/to/python" > exit 1 > fi > > QEMU depends on Python = Python 2 for QAPI, tracing and maybe more. > See scripts/*.py. I've been thinking that we could potentially rewrite a large chunk (all?) of configure in python too since we have such a hard dependency now. Regards, Anthony Liguori > > Stefan > >