Merge pull request #1421 from autotest/fix-local-testproviders

Fix local testproviders
virttest.standalone_test: Disable default behavior when using -c

Due to a mistake on my part, I disregarded the option -c
when writing the new behavior of the test suite. Let's
disable all backing up of images, download of JeOS and
the such when using -c.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.standalone_test: If -c used, tags are shortnames

When using -c, all bets about how the suite is used are
off, as for the number of guests used and other details.

So, to avoid name collisions, ensure the test tag in case
we're using our own configuration is equal to the shortname,
not the special, trimmed down tag we use when not using -c.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Revert "Unify Windows unattended files"

We got reports of Win 2008r2 not able to install after
this commit, so let's revert it.

This reverts commit df91845c97bb8ee8cacdec4aacdcbc24c9932a0c.
Merge pull request #1423 from autotest/fix-config-option

Fix config option
make "latest" a relative symlink

This helps me because I have the virt-test checkout on NFS, and the
exact path may be different on different systems.  By using a relative
symlink, I can access the "latest" log from all of them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Merge pull request #1362 from yangdongsheng/VirshConnectBack

libvirt-virsh: Add remote_pwd into VirshConnectBack.__slots__.
virttest.utils_net: Add some methods to manage guest nic's ip

This patch add a new method to get guest nic ip, support both
windows and linux guest, also add a method to renew guest ip
support both windows and linux guest.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virttest.virt_vm: some modifications of wait_for_get_address()

This patch modified the method of wait_for_get_address, the new method
will try to renew guest nic ip, and try to get guest ip by serial console,
instead of raising error when timeout. will raise error if both above
try failed.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virttest.virt_vm: using wait_for_get_address to get guest address

We suffer a lot when autotest can't log into guest, but the guest actually
have an effect ip.
Using wait_for_get_address, will try to renew guest ip and get guest ip by
serial console when it can not guest get guest address by address_cache.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #1424 from autotest/1393

Remake of PR 1393
Merge pull request #1390 from yumingfei/fix_pool_xml

libvirt_xml.pool_xml: Fix PoolXMLBase class.
Merge pull request #1391 from yangdongsheng/readonly

virsh: Add readonly param in __init__ of VirshSession.
Merge pull request #1399 from FengYang/run_virt_sub_test

virttest.utils_test: Correct tests script dir for shared script in run_v...
Merge pull request #1381 from liyangfnst/session_debug

virt: Add 'debug' paramter to print result in VirshSession.cmd_result()
Merge pull request #1406 from waynesun09/virsh_screenshot

virttest: Add support for video device operation and screenshot_test function
virttest.virsh: Use pool_name instead of extra to pass pool.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.libvirt_storage: Add PoolVolume class

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

PR 1405 remake - PoolVolume Class
virttest.virsh: Add virsh nodedev-reset wrapper function

Signed-off-by: Hao Liu <hliu@redhat.com>