qemu.tests.drive_mirror: fix syntax when job status is empty

Check block job status not empty to avoid 'KeyError: 'len' when qmp
monitor respone delay.

Signed-off-by: Xu Tian <xutian@redhat.com>
boot_time: Migrate to utils_misc.monotonic_time()

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Merge pull request #72 from zqad/monotonic

boot_time: Migrate to utils_misc.monotonic_time()
tp-qemu: Add README.rst

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tp-qemu: Add travis CI job

This one is simpler than in other projects and for now
only pylints the code.

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

Travis ci
Add new reboot_time test case

Besides the boot time of a guest (boot_time), we would like to measure
the reboot time. This TC does essentially the same as boot_time, but
will instead issue the 'reboot' command to the VM, and measure the time
until the console is again available for login.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
New TC: Save and restore VM to/from file

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
generic.tests:Update cfg for scsi_testsuite in autotest_control

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.tests: Update cfg for stress_kernel_compile

overcommit only support for booting multi guests,
so remove single_guest subtest.

Signed-off-by: Shuping Cui <scui@redhat.com>
Merge pull request #74 from xutian/fix_mirror_issue

qemu.tests.drive_mirror: fix syntax when job status is empty
Merge pull request #77 from zqad/new_tcs_reboot_saverestore

New TCs: Reboot, and save/restore
qemu.tests: add case to check discard support by qemu block layer

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

qemu.tests: add case to check discard support by qemu block layer
Merge pull request #84 from spcui/stress_kernel_compile

qemu.tests: Update cfg for stress_kernel_compile
Merge pull request #83 from ypu/scsi_testsuite

generic.tests:Update cfg for scsi_testsuite in autotest_control
clock_getres: Migrate to remote_build

Tested by running: clock_getres

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
tsc_sync tests: Migrate to remote_build

Remove dependency towards popt, as it is not used in the source code.
popt.h was probably included by mistake, as it is not mentioned as a
required linker flag (-lpopt) in the build instruction comment.

Tested by running:
- timerdevice.clock_drift_with_ntp
- timerdevice.tscsync.change_host_clksource
- timerdevice.tscsync.longtime

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
clock_drift_with_ntp: Parameterize

Try to fetch the drift file name and ntp stop/start commands from the
configuration parameters, fall back to old values.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
nx: Migrate to remote_build

And fix a minor build warning in x64_sc_rdo.c.

Tested by running: nx.noexec_on, nx.noexec_off

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>