libvhost-user: fix crash when rings aren't ready
[qemu/ar7.git] / tests / ptimer-test.h
blob09ac56da9ebf8c1f75b14c62fd37eef102693e77
1 /*
2 * QTest testcase for the ptimer
4 * Copyright (c) 2016 Dmitry Osipenko <digetx@gmail.com>
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
9 */
11 #ifndef PTIMER_TEST_H
12 #define PTIMER_TEST_H
14 extern bool qtest_allowed;
16 extern int64_t ptimer_test_time_ns;
18 struct QEMUTimerList {
19 QEMUTimer active_timers;
22 #endif