qemu.tests.readonly_disk: Remove unused utils_test import

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests.enforce_quit: Remove unused utils_test import

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests.live_snapshot_chain: Remove unused utils_test import

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest: Create module utils_test

In order to split the utils_test module, turn it into
a python module first. This change shouldn't affect
virt-test, while it allows us to start moving code around.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_test: Introduce utils_test.qemu module

In order to make the utils_test module more maintainable,
split the qemu tests specific functions to the module
utils_test.qemu. Of course, eventually modules specific
to other test types, such as libvirt, v2v and the such
can be also carried.

All the API references were fixed, and functions that
were mentioned in a single test module were moved to
said test module.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests: Update old utils_test.get_vm with env.get_vm

This was probably overlooked when making the transition
to the new environment class. With this, we can simply
remove the old API.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tests: Update old utils_test.wait_for_login with vm.wait_for_login

This was probably overlooked when making the transition
to the new vm class. With this, we can simply
remove the old API.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils_test: Remove unfrequently used function dump_command_output

Given that a single test is using it, and we don't gain
significant advantage by defining one, we're better off
without it. Change multi_nics to use standard python API.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils_test: Remove unused function fix_atest_cmd

It wasn't being used anywhere.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_test: Remove get_svr_session

It wasn't being used anywhere.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_test: Move pin_vm_threads to utils_test.qemu

I have noticed this function was QEMU specific only
afterwards.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils_misc: Move aton() implementation to utils_misc

Since this function is not a high level function.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils_misc: Move find_substring() implementation to utils_misc

Since this function is not a high level function.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_test: Move recovery_from_snapshot back to original test

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_test: Add libvirt submodule

By putting functions more focused in the libvirt tests,
we have a better organized API.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #990 from autotest/split

utils_test API Split