From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH KVM-AUTOTEST 0/2] Remove some external command callouts Date: Wed, 12 Aug 2009 12:34:43 +0300 Message-ID: <1250069685-17727-1-git-send-email-avi@redhat.com> Cc: kvm@vger.kernel.org To: Lucas Meneghel Rodrigues Return-path: Received: from mx2.redhat.com ([66.187.237.31]:40651 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755057AbZHLJer (ORCPT ); Wed, 12 Aug 2009 05:34:47 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7C9Ymgr028531 for ; Wed, 12 Aug 2009 05:34:48 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Calling out to external commands is slow, noisy, and unreliable. This patchset replaces two such cases with Python equivalents. Avi Kivity (2): Replace subprocess 'rm *.ppm' by equivalent Python code Convert images to JPEG using PIL instead of an external program client/tests/kvm/kvm_guest_wizard.py | 6 +++--- client/tests/kvm/kvm_preprocessing.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)