libvirt.tests: Adjustments for MigrationTest and StressTest class.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.test: Add 'running,paused,verbose' option for virsh managedsave

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt-test: Add 'running,paused,verbose' option test for save

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #88 from liyangfnst/save

libvirt-test: Add 'running,paused,verbose' option test for save
libguestfs: guestfish_block_dev: PEP8 Fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
libvirt: virsh.virsh_vol_create_from - PEP8 Fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #86 from yumingfei/migration_fix

libvirt.tests: Adjustments for MigrationTest and StressTest class.
libvirt-test: Fix some output issues in virsh save test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #89 from liyangfnst/save_fix

libvirt-test: Fix some output issues in virsh save test
virsh_destroy: add case to test --graceful option.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #91 from yangdongsheng/virsh_destroy

virsh_destroy: add case to test --graceful option.
Merge pull request #84 from liyangfnst/managedsave

libvirt.test: Add 'running,paused,verbose' option for virsh managedsave
virsh.attach_device: Skip login if vm is not alive

For the case where the vm is not alive, then skip doing the login() call
since there are multiple timeouts in play. One in particular - the call
to wait_for_get_address() has a 300 second timeout. If we fall into that
timeout, we can wait for up to 6 minutes per test run. When there's 16
devices that adds up to 96 minutes of waiting for no good reason.

Signed-off-by: John Ferlan <jferlan@redhat.com>