Statistics
| Branch: | Revision:

root / qtest.c @ 4d5b97da

History | View | Annotate | Download (10.9 kB)

# Date Author Comment
7f3bf92f 04/24/2012 05:50 pm Richard Henderson

qtest: Fix tv_usec != long

Sparc Debian 5.0.8 does not define __suseconds_t as long,
but FMT_timeval expects %ld.

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>
Cc: Anthony Liguori <>...

3f97fd85 04/03/2012 11:34 am Stefan Weil

qtest: Add missing GCC_FMT_ATTR

gcc reports an error when the code is compiled with -Wmissing-format-attribute.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

6e92466a 04/02/2012 05:43 pm Anthony Liguori

qtest: use qemu_gettimeofday()

On linux, qemu_timeval will always be two long ints. On windows, we use our
own struct definition. This should fix win64.

Signed-off-by: Anthony Liguori <>

6b7cff76 03/30/2012 08:56 pm Anthony Liguori

qtest: fix 32-bit build

time_t appears to be an unsigned long so use %ld.

Reported-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

c7f0f3b1 03/30/2012 04:14 pm Anthony Liguori

qtest: add test framework

The idea behind qtest is pretty simple. Instead of executing a CPU via TCG or
KVM, rely on an external process to send events to the device model that the CPU
would normally generate.

qtest presents itself as an accelerator. In addition, a new option is added to...

20288345 03/30/2012 04:14 pm Paolo Bonzini

qtest: IRQ interception infrastructure

Since /i440fx/piix3 is being removed from the composition tree, the
IO-APIC is placed under /i440fx. This is wrong and should be changed
as soon as the /i440fx/piix3 path is put back.

Signed-off-by: Paolo Bonzini <>...

8156be56 03/30/2012 04:14 pm Paolo Bonzini

qtest: add clock management

This patch combines qtest and -icount together to turn the vm_clock
into a source that can be fully managed by the client. To this end new
commands clock_step and clock_set are added. Hooking them with libqtest
is left as an exercise to the reader....