virttest: Add queues and helper to add_net in qemu_vm.py

Make the add_net support queues and helper options.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Make add_net can support invalid paramteres

Make it possible to start the command with invalid parameters to
support some negative tests.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Add vm process status for image process functions

Let the image check process can get if vm process is still running. Some
options in image like lazy_refcounts improve the performance but do not
support image check while the qemu process still running. Also make this
can be control by cfg file.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Add a parameter to skip cluster leak warning in image check

When the guest is running we should not raise error in image check if
it is only a cluster leak warning. And add it as a parameter in base.cfg
so people can igonre the warning message if they do not care about it in
their tests.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virt-test: Bootstrap using other OS images.

The bootstrap procedure was hardcoded to use the JeOS image. If the
JeOS repository is unreachable the command will return an error. To use
a specific OS at bootstrap its name should be given in the run command
using the --guest-os parameter:
e.g. ./run -t qemu --bootstrap --guest-os=Enea.4.0.x86_64

Signed-off-by: Petre Pircalabu <petre.pircalabu@enea.com>
virt-test: virttest/standalone_test.py pep8 fixes

Signed-off-by: Petre Pircalabu <petre.pircalabu@enea.com>
virt-test: Use import defaults

Change 'from defaults use' with 'import defaults'

Signed-off-by: Petre Pircalabu <petre.pircalabu@enea.com>
Add APIs:tar_in_opts, chmod, chown, lchown, du, file; fix mount-options call
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
virt-test: Download multiple assets on bootstrap

If the guest-os parameter matches multiple guest, the bootstrap script
should download all matching images.

Signed-off-by: Petre Pircalabu <petre.pircalabu@enea.com>
virttest: fix syntax in run_autotest()

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #1639 from xutian/fix_autotest

virttest: fix syntax in run_autotest()
Merge pull request #1624 from pepi-enea/parameterized_bootstrap

Parameterized bootstrap
Merge pull request #1573 from ypu/image_check

Some image check improve for env_process
Merge pull request #1577 from ypu/qemu_params

Add some params to add_net