From patchwork Tue May 1 19:28:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 156195 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AD039B6FA5 for ; Wed, 2 May 2012 05:41:51 +1000 (EST) Received: from localhost ([::1]:35834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPImN-000377-Az for incoming@patchwork.ozlabs.org; Tue, 01 May 2012 15:30:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPIlc-0000s3-MU for qemu-devel@nongnu.org; Tue, 01 May 2012 15:29:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPIla-00057V-Ua for qemu-devel@nongnu.org; Tue, 01 May 2012 15:29:44 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:60719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPIla-00057A-M1 for qemu-devel@nongnu.org; Tue, 01 May 2012 15:29:42 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 1 May 2012 20:29:38 +0100 Received: from d06nrmr1407.portsmouth.uk.ibm.com (9.149.38.185) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 1 May 2012 20:29:35 +0100 Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q41JTYH01679416 for ; Tue, 1 May 2012 20:29:34 +0100 Received: from d06av09.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q41JTYjT030449 for ; Tue, 1 May 2012 13:29:34 -0600 Received: from localhost ([9.145.211.102]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q41JTXIU030434; Tue, 1 May 2012 13:29:34 -0600 From: Stefan Hajnoczi To: Anthony Liguori Date: Tue, 1 May 2012 20:28:33 +0100 Message-Id: <1335900518-6730-1-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10 MIME-Version: 1.0 x-cbid: 12050119-4966-0000-0000-0000022F65B6 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.106 Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Subject: [Qemu-devel] [PULL 0/5] Tracing patches for 1.1 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 This pull request is for QEMU 1.1 and fixes tracetool Python compatibility issues. This makes it possible to run all the way back to Python 2.4. These patches are required so that QEMU can be built with tracing on older systems. The following changes since commit b754e4fc1e8e68af975c545c38ebc3b001ebc98f: Remove stray HOST_LONG_SIZE (2012-05-01 18:23:04 +0400) are available in the git repository at: git://github.com/stefanha/qemu.git tracing for you to fetch changes up to e120d449e1b39ec508c297b963ce452628dd37c3: configure: check for supported Python 2.x versions (2012-05-01 20:15:31 +0100) ---------------------------------------------------------------- Stefan Hajnoczi (5): tracetool: use Python 2.4-compatible exception handling syntax tracetool: use Python 2.4-compatible __import__() arguments tracetool: avoid str.rpartition() Python 2.5 function tracetool: avoid pkgutil.iter_modules() Python 2.7 function configure: check for supported Python 2.x versions configure | 7 ++++--- scripts/tracetool.py | 4 ++-- scripts/tracetool/__init__.py | 19 +++++++++++-------- scripts/tracetool/backend/__init__.py | 8 ++++++-- scripts/tracetool/format/__init__.py | 8 ++++++-- 5 files changed, 29 insertions(+), 17 deletions(-)