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>
Add test for domblkerror

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
Add virsh testcase virsh_blockresize

  domain/virsh_blockresize.py
  domain/virsh_blockresize.cfg

Signed-off-by: Guannan Ren <gren@redhat.com>
Fix pep8 problems of virsh blockresize test.

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

Rebase: Add virsh testcase virsh_blockresize
Merge pull request #48 from kylazhang/domblkerror

Add test for domblkerror
libvirt.tests: Add test for iface related commands

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #104 from yangdongsheng/at-detach-disk

virsh-tests: Add --persistent for at-detach-disk test
Merge pull request #93 from will-Do/iface

libvirt.tests: Add test for iface related commands
Add libvirt API ACL case for virsh save

Update test case and config for test API 'hibernate' in virDomainPtr set.
As API acl support is added in libvirt 1.1.1, use libvirt version check
function in provider before run the case.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh restore

Update virsh restore test case for test API 'start' and 'write' in
virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh console

Update virsh console test case for test API 'open-device' in
virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh dump

Update virsh restore test case for test API 'dump' in virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh sendkey

Update virsh sendkey test case for test API 'send-input' in virDomainPtr
set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh screenshot

Update virsh screenshot test case for test API 'screenshot' in
virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh blockcopy

Update virsh blockcopy test case for test API 'block-write' and 'write'
in virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh undefine

Update virsh undefine test case for test API 'write', 'save' and
'delete' in virDomainPtr set.
The 'write' and 'save' is for define command, 'delete' is for
undefine command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh suspend

Update virsh suspend test case for test API 'suspend' in virDomainPtr
set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh reset

Update virsh reset test case for test API 'reset' in virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>