Re: [Qemu-devel] [PATCH v2 1/2] libqos: improve event_index test with timeout

2014-10-11 Thread Peter Maydell
On 11 October 2014 12:43, Peter Maydell wrote: > Hi; just noticed this breaks 'make check' build on MacOSX: > > /Users/pm215/src/qemu/tests/libqos/virtio.c:84:25: warning: implicit > declaration of function > 'g_get_monotonic_time' is invalid in C99 > [-Wimplicit-function-declaration] >

Re: [Qemu-devel] [PATCH v2 1/2] libqos: improve event_index test with timeout

2014-10-11 Thread Peter Maydell
On 29 September 2014 16:40, Stefan Hajnoczi wrote: > The virtio event_index feature lets the device driver tell the device > how many requests to process before raising the next interrupt. > virtio-blk-test.c tries to verify that the device does not raise an > interrupt unnecessarily. > > Unfortun

[Qemu-devel] [PATCH v2 1/2] libqos: improve event_index test with timeout

2014-09-29 Thread Stefan Hajnoczi
The virtio event_index feature lets the device driver tell the device how many requests to process before raising the next interrupt. virtio-blk-test.c tries to verify that the device does not raise an interrupt unnecessarily. Unfortunately the test has a race condition. It spins checking for an