From patchwork Mon Jan 24 04:22:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 499971 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0O4MemF000969 for ; Mon, 24 Jan 2011 04:22:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751740Ab1AXEWd (ORCPT ); Sun, 23 Jan 2011 23:22:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6407 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673Ab1AXEWc (ORCPT ); Sun, 23 Jan 2011 23:22:32 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0O4MV73024623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 23 Jan 2011 23:22:31 -0500 Received: from freedom.redhat.com (vpn-11-93.rdu.redhat.com [10.11.11.93]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0O4MMub018179; Sun, 23 Jan 2011 23:22:30 -0500 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 3/3] Removing unused imports from guest scripts Date: Mon, 24 Jan 2011 02:22:21 -0200 Message-Id: <1295842941-11557-4-git-send-email-lmr@redhat.com> In-Reply-To: <1295842941-11557-1-git-send-email-lmr@redhat.com> References: <1295842941-11557-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 24 Jan 2011 04:22:40 +0000 (UTC) diff --git a/client/tests/kvm/scripts/ksm_overcommit_guest.py b/client/tests/kvm/scripts/ksm_overcommit_guest.py index 09dc004..d52be5b 100644 --- a/client/tests/kvm/scripts/ksm_overcommit_guest.py +++ b/client/tests/kvm/scripts/ksm_overcommit_guest.py @@ -8,7 +8,7 @@ Auxiliary script used to allocate memory on guests. """ -import os, array, sys, struct, random, copy, inspect, tempfile, datetime, math +import os, array, sys, random, copy, tempfile, datetime, math PAGE_SIZE = 4096 # machine page size diff --git a/client/tests/kvm/scripts/virtio_console_guest.py b/client/tests/kvm/scripts/virtio_console_guest.py index 35efb7d..c407231 100755 --- a/client/tests/kvm/scripts/virtio_console_guest.py +++ b/client/tests/kvm/scripts/virtio_console_guest.py @@ -9,8 +9,8 @@ Auxiliary script used to send data between ports on guests. """ import threading from threading import Thread -import os, time, select, re, random, sys, array -import fcntl, subprocess, traceback, signal +import os, select, re, random, sys, array +import fcntl, traceback, signal DEBUGPATH = "/sys/kernel/debug" SYSFSPATH = "/sys/class/virtio-ports/"