virttest.utils_libguestfs: Add sets of commands for is-*
virttest.utils_libguestfs: Add cmd_result() in GuestfishRemote

1. Want keep consistent with the original code.
add method cmd_result() in class GuestfishRemote(), cmd_result is
called by inner_cmd()

2. add a func blockdev_rereadpt()
virttest.utils_libguestfs: Add two API interface

1. max-disks
2. nr-devices
remote_build doc: Change from utils_build

Two residual utils_build was left in the documentation.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Merge pull request #1617 from vanbogithub/bfan-next

virttest.utils_libguestfs: Add sets of commands for is-*
Add APIs:tar_in_opts, chmod, chown, lchown, du, file; fix mount-options call
virttest: Add bridge add and delete function to class Bridge

Add two functions to class Bridge to handle bridge add and delete.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Add a function to list nic interface in host

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #1630 from zqad/remote_build-doc-fix

remote_build doc: Change from utils_build
Merge pull request #1634 from ypu/utils_net

Add some functions to utils_net
Adjust compress as optional argument
Add APIs: file_architecture, filesize, stat, lstat, lstatlist
Merge pull request #1633 from shi2wei3/file_dir_APIs

Add APIs:tar_in_opts, chmod, chown, lchown, du, file; fix mount-options ...
fix conflicts
Merge pull request #1636 from shi2wei3/file_dir_APIs_2

Add APIs: file_architecture, filesize, stat, lstat, lstatlist
virttest: Libvirt polkit config support in env_process

Libvirt polkit driver supports administrators to setup fine grained
permission rules across client users, managed objects and API operations.

For support libvirt polkit configuration with basic user/objects/API
testing, add LibvirtPolkitConfig class in test_setup and perform the
config in env_process beforce case run start.

Reference:
http://libvirt.org/aclpolkit.html
http://libvirt.org/acl.html#perms

Signed-off-by: Wayne Sun <gsun@redhat.com>
virttest: Add support of unprivileged virsh session

For fine grained unprivileged user API permission testing, virsh session
should be started by unprivileged user. This patch update virsh_exec in
command, VirshPersistent and VirshSession for support once, persistent
and remote unprivileged virsh session.

If unprivileged_user specified in cfg file:
For one time and persistent session, the virsh_exec will be:
su - unprivileged_user -c 'virsh -c qemu:///system'

For remote persistent session, the virsh_exec will be:
ssh -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=password
-p 22 remote_user@remote_ip "virsh -c qemu:///system"

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