qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

ptimer-test: do not link to libqemustub.a/libqemuutil.a

This test provides its own mocks, so do not use the "standard"
stubs in libqemustub.a or the event loop implementation in
libqemuutil.a.

This is required on OS X, which otherwise brings in qemu-timer.o,
async.o and main-loop.o from libqemuutil.a.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

+5 -1
+1 -1
tests/Makefile.include
··· 618 618 tests/test-timed-average$(EXESUF): tests/test-timed-average.o $(test-util-obj-y) 619 619 tests/test-base64$(EXESUF): tests/test-base64.o \ 620 620 libqemuutil.a libqemustub.a 621 - tests/ptimer-test$(EXESUF): tests/ptimer-test.o tests/ptimer-test-stubs.o hw/core/ptimer.o libqemustub.a 621 + tests/ptimer-test$(EXESUF): tests/ptimer-test.o tests/ptimer-test-stubs.o hw/core/ptimer.o 622 622 623 623 tests/test-logging$(EXESUF): tests/test-logging.o $(test-util-obj-y) 624 624
+4
tests/ptimer-test-stubs.c
··· 30 30 31 31 int64_t ptimer_test_time_ns; 32 32 33 + /* Do not artificially limit period - see hw/core/ptimer.c. */ 34 + int use_icount = 1; 35 + bool qtest_allowed; 36 + 33 37 void timer_init_tl(QEMUTimer *ts, 34 38 QEMUTimerList *timer_list, int scale, 35 39 QEMUTimerCB *cb, void *opaque)