disable hdparm test for virtio-scsi disk

hdparm can't read sensor data from virtio-scsi disk, so disable it;

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests: disable lsi device on Host_RHEL6.5 and Host_RHEL7.0

since lsi device is not support by RHEL6.5 and RHEL.7.0 host, so disable
it; And disable virtio-scsi on WinXP guest because it not support too;

Signed-off-by: Xu Tian <xutian@redhat.com>
virttest: fix save_to_file time when use qmp monitor

when QMP monitor used, migrate complete check always failed until
timeout; This commit update check method and raise QemuMigrationTimeout
expection when migrate timeout;

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #659 from xutian/small_fix

Some small fix
virt: Replace Versionable class with new version.

new version
pros) multiple version of class in one process
      change version of class by parameters passed by class factory.
      support of pickling.
cons) It is necessary use factory and line with registration of module.
      For access to specific class version is necessary to use class
      manager.

usage:
  from versionable_class import Manager, factory, VersionableClass
  #register module to class manager. Necessary for pickling.
  man = Manager(__name__)

  class VM1(object):
    @classmethod
    def _is_right_ver(cls, version):
        return True

    def __init__(self, *args, **kargs):
        super(VM1, self).__init__(*args, **kargs)

    def fn1(self):
        print "fn1_VM1"

class VM_container(test_vers.VersionableClass):
    __master__ = VM1

o = test_vers.factory(VM_container)   # return class
o = o()    # create instance of class
o.fn1()

Already used by openvswitch.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Adds compatibility with new versionable class.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
qemu_vm: Update qemu_binary to be able to use LD_LIBRARY_PATH

Signed-off-by: Swapna Krishnan <skrishna@redhat.com>
Removing spice_common as it's obsolete
tests.mac_change : change mac when the interface is active

this patch make the mac_change test support changing mac when the
interface is active
this patch also modify the method of get drive number of win_utils

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #658 from humanux/mac_change_v1

tests.mac_change : change mac when the interface is active
virttest.qemu_devices: Fix in-code OrderedDict

Fix the correct implementation of itervalues() and add iteritems().

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.virtio_console: Raise correct exception

virtio_console catches exceptions and raises TestFail when unknown
exception occurs (because any Shell/... exception usually means
test failure.

Anyway it should raise TestError and TestNAError in case they occurs.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>