virt: Add 'extra' param to domstate function

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Add prompt information of rescue mode to patterns

Signed-off-by: Lin Ma <lma@suse.com>
gluster: Support remote gluster server.

Sometime we have to use gluster in remote host.

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.qemu_storage: Support gluster in image_check().

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.qemu_storage: Do not check parent directory exist when glusterFS used

Got following error message in unattended_install case:
03/28 10:55:54 ERROR|qemu_stora:0128| Parent directory of the image file gluster://10.66.8.107:0/vol_test/rhel64-64.qcow2 does not exist
03/28 10:55:54 ERROR|qemu_stora:0129| This usually means a serious setup error.
03/28 10:55:54 ERROR|qemu_stora:0130| Please verify if your data dir contains the expected directory structure
03/28 10:55:54 ERROR|qemu_stora:0133| Backing data dir: /var/lib/virt_test
03/28 10:55:54 ERROR|qemu_stora:0134| Directory structure:
03/28 10:55:54 ERROR|qemu_stora:0136| /var/lib/virt_test
03/28 10:55:54 WARNI|qemu_stora:0138| We'll try to proceed by creating the dir. Other errors may ensue

This is some interference information.
I think we should not check parent directory when glusterFS used.
But we can check parent directory available when image_backend = filesystem.

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #1538 from morecache/add-rescue-mode-prompt

Add prompt information of rescue mode to patterns
Merge pull request #1530 from liyangfnst/domstate

virt: Add 'extra' param to domstate function
virttest.virsh: Wrap virsh command vol-download and vol-upload

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
Merge pull request #1559 from autotest/virsh-vol-upload

virttest.virsh: Wrap virsh command vol-download and vol-upload
Merge pull request #1556 from FengYang/gluster

gluster: Support remote gluster server.
virttest.utils_disk: fix bug when umount loop device

Signed-off-by: Xu Tian <xutian@redhat.com>
Fix ssh cmdline grammer issue.

Signed-off-by: Lin Ma <lma@suse.com>
Merge pull request #1560 from morecache/fix-ssh-cmdline-issue

Fix ssh cmdline grammer issue.
Merge pull request #1558 from xutian/fix_utils_disk

virttest.utils_disk: fix bug when umount loop device
utils_test/libvirt/get_all_cells(): Fix call to virsh.freecell

Commit id '30073c37' added a 'cellno' parameter to virsh.freecell as
the first optional/named parameter; however, the call here didn't indicate
or name whether its first parameter was for 'options', thus the assumption
was it was for cellno.  This led to test failure in 'virsh.nodememstats'
when the 'all' option was selected for 'cell_test.max_plus_one'.

The call would look like: "virsh freecell --cellno --all" instead
of "virsh freecell --all", resulting in error:

    "stderr: error: cell number has to be a number"
virttest.libvirt_storage: Strip spaces from volume names

jferlan pointed out that eliminating whitespace from the
result of path parsing was necessary to fix problems with

https://github.com/autotest/tp-libvirt/pull/50

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.cfg.Windows: Update check_files parameter for qemu_disk_img.

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #1561 from jferlan/freecell

utils_test/libvirt/get_all_cells(): Fix call to virsh.freecell
Merge pull request #1562 from FengYang/qemu_disk

shared.cfg.Windows: Update check_files parameter for qemu_disk_img.