scripts: refactor the VM class in iotests for reuse
commit66613974468fb6e1609fb3eabf55981b1ee436cf
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 20 Jul 2016 13:23:10 +0000 (20 14:23 +0100)
committerAmit Shah <amit.shah@redhat.com>
Fri, 22 Jul 2016 07:53:24 +0000 (22 13:23 +0530)
treed810f59a5682890cbbbbc7b3e36b502b6aa98f66
parent991e7c46504807bd89ba8debeccc5211e0b7f221
scripts: refactor the VM class in iotests for reuse

The iotests module has a python class for controlling QEMU
processes. Pull the generic functionality out of this file
and create a scripts/qemu.py module containing a QEMUMachine
class. Put the QTest integration support into a subclass
QEMUQtestMachine.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1469020993-29426-4-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
scripts/qemu.py [new file with mode: 0644]
scripts/qtest.py
tests/qemu-iotests/iotests.py