xref: /openbmc/qemu/stubs/qtest.c (revision a1d22c66)
101c22f2cSPeter Maydell /*
201c22f2cSPeter Maydell  * qtest stubs
301c22f2cSPeter Maydell  *
401c22f2cSPeter Maydell  * Copyright (c) 2014 Linaro Limited
501c22f2cSPeter Maydell  * Written by Peter Maydell
601c22f2cSPeter Maydell  *
701c22f2cSPeter Maydell  * This work is licensed under the terms of the GNU GPL, version 2 or later.
801c22f2cSPeter Maydell  * See the COPYING file in the top-level directory.
901c22f2cSPeter Maydell  */
1001c22f2cSPeter Maydell 
1187c9b5e0SPeter Maydell #include "qemu/osdep.h"
122822c1b6SStefan Weil #include "sysemu/qtest.h"
1301c22f2cSPeter Maydell 
1401c22f2cSPeter Maydell /* Needed for qtest_allowed() */
1501c22f2cSPeter Maydell bool qtest_allowed;
1621a24302SMichael S. Tsirkin 
qtest_driver(void)1721a24302SMichael S. Tsirkin bool qtest_driver(void)
1821a24302SMichael S. Tsirkin {
1921a24302SMichael S. Tsirkin     return false;
2021a24302SMichael S. Tsirkin }
21*740b1759SClaudio Fontana 
qtest_get_virtual_clock(void)22*740b1759SClaudio Fontana int64_t qtest_get_virtual_clock(void)
23*740b1759SClaudio Fontana {
24*740b1759SClaudio Fontana     return 0;
25*740b1759SClaudio Fontana }
26