Add test for vol-download and vol-upload

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
libvirt.tests: Add virsh vol-create command case

Add test case for virsh command vol-create, prepare different type
of pools before run the command within the case.

The case covers pool of default format with supported volume format
matrix.

Reference:
http://www.libvirt.org/storage.html

Signed-off-by: Wayne Sun <gsun@redhat.com>
guestfish_block_dev: Split image preparation from individual test case
guestfish_block_dev: Add function test_blockdev_set_get_ro_rw()

To cover guestfish command:
(1)blockdev-setro
(2)blockdev-getro
(3)blockdev-setrw
Merge pull request #90 from vanbogithub/bfan-dev

guestfish_block_dev: Split image preparation from individual test case
Merge pull request #65 from kylazhang/vol-upload-download

Add test for vol-download and vol-upload
libvirt.tests: Replace creating vol with PoolVolumeTest.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #70 from waynesun09/vol_create

libvirt.tests: Add virsh vol-create command case
tp-libvirt: Add README.rst file

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tp-libvirt: Add Travis CI job

Let's start simple, only with a pylint check.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #100 from autotest/travis-ci

Travis ci
libvirt.test: Add 'running,paused' option test for virsh restore

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

libvirt.test: Add 'running,paused' option test for virsh restore
provider: Add a libvirt_version

Add a new provider directory to serve as an area to put common functions
and functionality needed for tp-libvirt specific tests.

Add a libvirt_version.py which has a function designed to compare a
specific upstream libvirt version against the running libvirt library
version on the system. This will allow tests that may have different
output or functionality allowed based on which libvirt version is running
on the host to perform or generate output expected for the specific version

Code is based on cevich@redhat.com's libvirt_library_version() logic
taken from a yet unreworked/remerged PR #1171 from virt-test. I massaged
the logic a bit in order to fit the model libvirt uses to take the major
version * 1000000 + the minor version * 1000 + the update in order to
fabricate a version which is easy to compare.

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