OSDN Git Service

qtest: implement named interception of out-GPIO
authorChris Laplante <chris@laplante.io>
Tue, 22 Aug 2023 16:31:00 +0000 (17:31 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Aug 2023 16:31:00 +0000 (17:31 +0100)
commita8610f8bd7465a9c30c206074d47dd3f387b5b9a
treec218d47b7b29ca0099972b3c76400452a644f971
parent7458dcf4e64249af961243cb1619858a242ec15e
qtest: implement named interception of out-GPIO

Adds qtest_irq_intercept_out_named method, which utilizes a new optional
name parameter to the irq_intercept_out qtest command.

Signed-off-by: Chris Laplante <chris@laplante.io>
Message-id: 20230728160324.1159090-4-chris@laplante.io
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
softmmu/qtest.c
tests/qtest/libqtest.c
tests/qtest/libqtest.h