KVM test: kvm_preprocessing.py: simplify handling of params['migration_mode']
commitfe16534bf15dcd42fede4a8e2a8e584d1da08c8f
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Mon, 10 Jan 2011 14:45:20 +0000 (10 14:45 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Mon, 10 Jan 2011 14:45:20 +0000 (10 14:45 +0000)
treedbdebfd6738560b6dd078000afbdc1be0247b3ca
parentf8f3ca961cb2d4895c376ae47830e59af9df24dc
KVM test: kvm_preprocessing.py: simplify handling of params['migration_mode']

Also reorder the if statements because if migration_mode is specified it causes
an unconditional VM restart (unlike start_vm).

Signed-off-by: Michael Goldish <mgoldish@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5102 592f7852-d20e-0410-864c-8624ca9c26a4
client/tests/kvm/kvm_preprocessing.py