system/qtest: Restrict QTest API to system emulation
commit60144cf50943600c9b433924d3a98124aa4b49aa
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 12 Dec 2023 11:30:16 +0000 (12 12:30 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 20 Dec 2023 09:29:23 +0000 (20 10:29 +0100)
tree4f6530f5ed0165e43dd0064035526e1bcc2afa58
parent65eac5bd547f6e8abffb3e85bd2d793c609ab396
system/qtest: Restrict QTest API to system emulation

Outside of system emulation, only qtest_enabled() can be used.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231212113016.29808-3-philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/sysemu/qtest.h