hw/clock: Expose 'qtest-clock-period' QOM property for QTests
authorInès Varhol <ines.varhol@telecom-paris.fr>
Mon, 14 Oct 2024 16:05:51 +0000 (17:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2024 10:29:45 +0000 (11:29 +0100)
commit9240d65e0e205b2a6df5e304e64451c32995b878
treef9721c8541bd833f69590bb242722acfd8183736
parentb91b8fe79d093543b05db771b1e4a13395d51cfb
hw/clock: Expose 'qtest-clock-period' QOM property for QTests

Expose the clock period via the QOM 'qtest-clock-period' property so it
can be used in QTests. This property is only accessible in QTests (not
via HMP).

Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20241003081105.40836-3-ines.varhol@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
docs/devel/clocks.rst
hw/core/clock.c