In order to solve task: http://autotest.kernel.org/ticket/50 Implemented support to providing blkdebug files to arbitrary guest images in autotest. Also, modified a bit the migrate test and introduced the variant migrate.with_blkdebug variant, that tries to mimic as much as possible the testcase described in ticket 50. Kevin, sorry that I took too long to work on this, let me know if you see any obvious problems on the implementation. With this we can have people reproducing the test case mentioned with a stock autotest clone. Indeed we see state migration mismatch problems running the testcase: Test Status Seconds Info ---- ------ ------- ---- (Result file: ../../results/default/status) Fedora.15.64.migrate.with_blkdebug.tcp.smp2 FAIL 35 Unhandled VMMigrateStateMismatchError: Mismatch of VM state before and after migration (cd739e82e72179821b0599169432729c != 39920fecc39325cca5deab4e0c54792d) [context: migrating 'vm1' --> after migration] Fedora.15.64.migrate.with_blkdebug.unix.smp2 FAIL 46 Unhandled VMMigrateStateMismatchError: Mismatch of VM state before and after migration (9482fb1523f15e708b0e46058b22196c != 60f7757c88e8a3a656f701fa97501a97) [context: migrating 'vm1' --> after migration] Fedora.15.64.migrate.with_blkdebug.exec.smp2 FAIL 44 Unhandled VMMigrateStateMismatchError: Mismatch of VM state before and after migration (7f5d1cce87383c001a83d0d3a6529c68 != 76549ae93fc0b3d270dbf51e8cb49dd6) [context: migrating 'vm1' --> after migration] Fedora.15.64.migrate.with_blkdebug.mig_cancel.smp2 FAIL 101 Unhandled VMMigrateCancelError: Cannot cancel migration [context: migrating 'vm1'] ---- GOOD 261 Cheers! Lucas Meneghel Rodrigues (3): KVM test: Introduce blkdebug param to images KVM test: migration subtest - Introduce migration_living_guest param KVM test: Introduce migrate.with_blkdebug variant client/tests/kvm/base.cfg.sample | 9 ++++ client/tests/kvm/blkdebug/default.conf | 16 +++++++ client/tests/kvm/subtests.cfg.sample | 6 +++ client/tests/kvm/tests/migration.py | 78 ++++++++++++++++++------------- client/virt/kvm_vm.py | 14 +++++- client/virt/virt_vm.py | 21 +++++++++ 6 files changed, 108 insertions(+), 36 deletions(-) create mode 100644 client/tests/kvm/blkdebug/default.conf -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html