History | View | Annotate | Download (10.9 kB)
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 <pbonzini@redhat.com>Signed-off-by: Richard Henderson <rth@twiddle.net>Cc: Anthony Liguori <aliguori@us.ibm.com>...
qtest: Add missing GCC_FMT_ATTR
gcc reports an error when the code is compiled with -Wmissing-format-attribute.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qtest: use qemu_gettimeofday()
On linux, qemu_timeval will always be two long ints. On windows, we use ourown struct definition. This should fix win64.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qtest: fix 32-bit build
time_t appears to be an unsigned long so use %ld.
Reported-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qtest: add test framework
The idea behind qtest is pretty simple. Instead of executing a CPU via TCG orKVM, rely on an external process to send events to the device model that the CPUwould normally generate.
qtest presents itself as an accelerator. In addition, a new option is added to...
qtest: IRQ interception infrastructure
Since /i440fx/piix3 is being removed from the composition tree, theIO-APIC is placed under /i440fx. This is wrong and should be changedas soon as the /i440fx/piix3 path is put back.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
qtest: add clock management
This patch combines qtest and -icount together to turn the vm_clockinto a source that can be fully managed by the client. To this end newcommands clock_step and clock_set are added. Hooking them with libqtestis left as an exercise to the reader....