qemu.tests: Add a test case for test invalid parameters in nic device

This case is designed to test the qemu behavior when it get invcalid parameters.
Qemu should quit with some warning message but not core dump.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
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>
qemu.tests: Fix the wrong balloon type in cfg

After s4 step in balloon_fix_value, the guest memory is back to
original value. So the type for next balloon should be evict but not
enlarge.

Signed-off-by: Yiqiao Pu <ypu@redhat.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
qemu.tests: Set restart_network to True when check guest network

As the link up and down in set_link may cause ip change in some enviroment.
We need add restart_network when we try to login guest after the operations.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
pxe_query_cpus: small fix of pxe_query_cpus

1. judge whether the thread is alive in every cpu info query.

2. add join() bg thread in the body.

3. set 'kill_vm_gracefully = no' in the cfg.

Signed-off-by: Cong Li <coli@redhat.com>