mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
d0be0ac2c3
The rtc-reset-reinjection QMP command is specific to x86, other boards do not have the ACK tracking functionality that is needed for RTC interrupt reinjection. Therefore the QMP command is only included in x86, but qmp_rtc_reset_reinjection() is implemented by hw/rtc/mc146818rtc.c and requires tracking of all created RTC devices. Move the implementation to hw/i386, so that 1) it is available even if no RTC device exist 2) the only RTC that exists is easily found in x86ms->rtc. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Message-ID: <20240509170044.190795-12-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
allwinner-rtc.c | ||
aspeed_rtc.c | ||
ds1338.c | ||
exynos4210_rtc.c | ||
goldfish_rtc.c | ||
Kconfig | ||
ls7a_rtc.c | ||
m41t80.c | ||
m48t59-internal.h | ||
m48t59-isa.c | ||
m48t59.c | ||
mc146818rtc.c | ||
meson.build | ||
pl031.c | ||
sun4v-rtc.c | ||
trace-events | ||
trace.h | ||
twl92230.c | ||
xlnx-zynqmp-rtc.c |