libvirt.tests: Add volume application test module(part 1).

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tp-libvirt: Add attach-disk action with created volume

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Add 4 cases to test following guestfish commands

blockdev-getbsz
blockdev-getsize64
blockdev-getss
blockdev-getsz
libvirt.test: Add 'mode' test(agent) for virsh reboot

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.tests: Add unsafe option test for virsh.migrate.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.tests: Add more testcases for virt-edit options.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add test for vol-resize

Signed-off-by: Yanbing Du <ydu@redhat.com>
virsh_attach_detach_disk: fix rhel version check.

As we need to run tests not only for rhel guest, we can not
assume "rpm -qa|grep redhat-release" should return 0.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh_attach_detach_disk: add test case for --persistent option.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
lvsb: Add simple cases for complex options testing

Signed-off-by: Alex Jia <ajia@redhat.com>
lvsb: sync security options cases with latest sandbox framework

Signed-off-by: Alex Jia <ajia@redhat.com>
Merge pull request #105 from yumingfei/lvsb_complex_options

LVSB: Lvsb complex options
guestfish_block_dev: fix a minior issue

1.Modify the way of parsing the string, it can be sutiable for more
situtation
2.Remove the fs type from cfg file, it's useless to block_dev test
Merge pull request #98 from vanbogithub/bfan-dev

Add 4 cases to test following guestfish commands
Merge pull request #73 from will-Do/vol_resize

libvirt.tests: Add test for vol-resize
virsh.list: When setting title, add proper option to virsh.desc

Commit id '58fd81a8' added the --title testing for virsh.list; however,
the add of the title was done to the --config and for a running domain
that didn't have expected results. Adjust the add of the title to be
based on the expected state of the domain.

Signed-off-by: John Ferlan <jferlan@redhat.com>
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>
libvirt.tests: Add test module for timer management.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Test setting of timer's present to no.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add stress relative cases for timer management.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>