Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework

2012-03-30 Thread Paolo Bonzini
Il 30/03/2012 19:53, Anthony Liguori ha scritto: +#define FMT_timeval "%" PRId64 ".%06" PRId64 >>> >>> Does %ld work instead of PRId64? >> >> That works for my 32 bit Debian, but it would fail on 64 bit Linux. > > It works on my 64-bit Linux fwiw. It would fail on x32, but it's a good s

Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework

2012-03-30 Thread Anthony Liguori
On 03/30/2012 12:52 PM, Stefan Weil wrote: Am 30.03.2012 19:50, schrieb Anthony Liguori: On 03/30/2012 12:40 PM, Stefan Weil wrote: Hi this commit breaks builds on Linux i386: CC libhw64/qtest.o cc1: warnings being treated as errors /home/stefan/src/qemu/qemu.org/qemu/qtest.c: In function ‘qt

Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework

2012-03-30 Thread Stefan Weil
Am 30.03.2012 19:50, schrieb Anthony Liguori: On 03/30/2012 12:40 PM, Stefan Weil wrote: Hi this commit breaks builds on Linux i386: CC libhw64/qtest.o cc1: warnings being treated as errors /home/stefan/src/qemu/qemu.org/qemu/qtest.c: In function ‘qtest_send_prefix’: /home/stefan/src/qemu/qem

Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework

2012-03-30 Thread Anthony Liguori
On 03/30/2012 12:40 PM, Stefan Weil wrote: Hi this commit breaks builds on Linux i386: CC libhw64/qtest.o cc1: warnings being treated as errors /home/stefan/src/qemu/qemu.org/qemu/qtest.c: In function ‘qtest_send_prefix’: /home/stefan/src/qemu/qemu.org/qemu/qtest.c:156: error: format ‘%lld’ exp

Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework

2012-03-30 Thread Stefan Weil
Hi this commit breaks builds on Linux i386: CC libhw64/qtest.o cc1: warnings being treated as errors /home/stefan/src/qemu/qemu.org/qemu/qtest.c: In function ‘qtest_send_prefix’: /home/stefan/src/qemu/qemu.org/qemu/qtest.c:156: error: format ‘%lld’ expects type ‘long long int’, but argument 3

[Qemu-devel] [PATCH v4 2/7] qtest: add test framework

2012-03-28 Thread Paolo Bonzini
From: Anthony Liguori 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 establish