xemu/hw/rtc
Peter Maydell 1f216b8ca9 qapi: Move RTC_CHANGE back out of target schema
This commit effectively reverts commit 183e4281a3, which moved
the RTC_CHANGE event to the target schema.  That change was an
attempt to make the event target-specific to improve introspection,
but the event isn't really target-specific: it's machine or device
specific.  Putting RTC_CHANGE in the target schema with an ifdef list
reduces maintainability (by adding an if: list with a long list of
targets that needs to be manually updated as architectures are added
or removed or as new devices gain the RTC_CHANGE functionality) and
increases compile time (by preventing RTC devices which emit the
event from being "compile once" rather than "compile once per
target", because qapi-events-misc-target.h uses TARGET_* ifdefs,
which are poisoned in "compile once" files.)

Move RTC_CHANGE back to misc.json.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Greg Kurz <groug@kaod.org>
Message-Id: <20220221192123.749970-2-peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2022-02-28 11:39:35 +01:00
..
allwinner-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
aspeed_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
ds1338.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
exynos4210_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
goldfish_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
Kconfig Kconfig: Add I2C_DEVICES device group 2022-02-21 13:30:20 +00:00
m41t80.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
m48t59-internal.h hw/timer/m48t59: Convert debug printf()s to trace events 2020-02-06 10:51:24 +01:00
m48t59-isa.c m48t59-isa: remove legacy m48t59_init_isa() function 2020-10-18 16:21:42 +01:00
m48t59.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
mc146818rtc.c qapi: Move RTC_CHANGE back out of target schema 2022-02-28 11:39:35 +01:00
meson.build hw/rtc/pl031: Send RTC_CHANGE QMP event 2021-11-15 18:53:00 +00:00
pl031.c qapi: Move RTC_CHANGE back out of target schema 2022-02-28 11:39:35 +01:00
sun4v-rtc.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
twl92230.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
xlnx-zynqmp-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00