shared.cfg: Add config to timedrift_monotonicity for windows guest

"date +%s%N" cannot show the current time for windows guest.

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.tests: make qemu-img covert more test scenario

Test plan updated, we need to make qemu_img test option 'preallation'
and 'cluster_size' togethor to avoid bug like:
qemu-img coredump when create image with cluster_size > 65536 and
option 'preallation=metadata';

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests.cpu_hotplug: Call vm.hotplug_vcpu() to hotplug vcpu.

vm.hotplug_vcpu() will select default command for human/qmp monitor.

In some version, cpu_set have been removed from human monitor,
vm.hotplug() will throw TestNAError.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu: Move control files to control_files directory

Moving the control files to a separate directory makes
sense, since it clearly separates them rather than leave
them all at top test repository level.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Move tests/ dir to agnostic/tests/

This will make it easier when we're splitting these
tests into their own repositories.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.data_dir: Modify get_deps_dir()

Make the 'deps' directory to be localized per test
backend. This way, when tests are split to their
own repos, they'll always know where to find their
resources, regardless of the layout of the repo.

The rules for the deps dir are simple: It can be
any directory up in the filesystem hierarchy with
the name 'deps'. The get_deps_dir() will keep looking
at parent dirs until it finds a deps dir. It'll do
this until either 10 iterations are reached, or a
hidden '.git' directory is found (meaning it reached
the top of the git repo).

Add some docstrings to that function as well.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
whql: Move whql deps to agnostic deps directory

Use the updated data_dir.get_deps_dir() to
correctly identify the deps location.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
clock_getres: Move dependencies to the new deps directory

Also, rename the binaries and directories as the test_
prefix is unnecessary.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.get_tsc: Move test deps to the new deps directory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.cdrom: Move eject files to the new deps directory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.deps: Move rss source and executables to rss dir

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.deps: Move finish to its own subdirectory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
deps: Move netperf files to their own directory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
deps: Move iperf to openvswitch dependencies

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.deps: Move iometer files to agnostic tests directory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.deps: Move spice image files to the qemu deps directory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
fixup spice rv_copyandpaste
shared.deps: Move time warp test to new deps directory

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.deps: Move x64_sc_rdo.c to the qemu deps dir

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
shared.deps: Move softlockup files to deps dir

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>