On Wed, 8 May 2024 at 22:27, Philippe Mathieu-Daudé wrote:
>
> On 8/5/24 19:46, Peter Maydell wrote:
> > On Wed, 8 May 2024 at 15:13, Philippe Mathieu-Daudé
> > wrote:
> >>
> >> Expose the clock frequency via the QOM 'freq-hz' property,
> >> as it might be useful for QTests.
> >>
> >> HMP
On 8/5/24 19:46, Peter Maydell wrote:
On Wed, 8 May 2024 at 15:13, Philippe Mathieu-Daudé wrote:
Expose the clock frequency via the QOM 'freq-hz' property,
as it might be useful for QTests.
HMP example:
$ qemu-system-mips -S -monitor stdio -M mipssim
(qemu) qom-get /machine/cpu-refclk
On Wed, 8 May 2024 at 15:13, Philippe Mathieu-Daudé wrote:
>
> Expose the clock frequency via the QOM 'freq-hz' property,
> as it might be useful for QTests.
>
> HMP example:
>
> $ qemu-system-mips -S -monitor stdio -M mipssim
> (qemu) qom-get /machine/cpu-refclk freq-hz
> 1200
>
>
Expose the clock frequency via the QOM 'freq-hz' property,
as it might be useful for QTests.
HMP example:
$ qemu-system-mips -S -monitor stdio -M mipssim
(qemu) qom-get /machine/cpu-refclk freq-hz
1200
Inspired-by: Inès Varhol
Signed-off-by: Philippe Mathieu-Daudé
---