From d357b635c2d1b11b1e83e88f63c97d4e8771d02e Mon Sep 17 00:00:00 2001 From: lmr Date: Mon, 24 Jan 2011 04:33:13 +0000 Subject: [PATCH] KVM test: Removing unused imports from guest scripts Signed-off-by: Lucas Meneghel Rodrigues git-svn-id: svn://test.kernel.org/autotest/trunk@5206 592f7852-d20e-0410-864c-8624ca9c26a4 --- client/tests/kvm/scripts/ksm_overcommit_guest.py | 2 +- client/tests/kvm/scripts/virtio_console_guest.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 client/tests/kvm/scripts/ksm_overcommit_guest.py diff --git a/client/tests/kvm/scripts/ksm_overcommit_guest.py b/client/tests/kvm/scripts/ksm_overcommit_guest.py old mode 100644 new mode 100755 index 09dc0042..d52be5b0 --- 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 35efb7da..c407231a 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/" -- 2.11.4.GIT