xemu/hw/rtc
Markus Armbruster 3ddba9a9e9 migration: Replace migration's JSON writer by the general one
Commit 8118f0950f "migration: Append JSON description of migration
stream" needs a JSON writer.  The existing qobject_to_json() wasn't a
good fit, because it requires building a QObject to convert.  Instead,
migration got its very own JSON writer, in commit 190c882ce2 "QJSON:
Add JSON writer".  It tacitly limits numbers to int64_t, and strings
contents to characters that don't need escaping, unlike
qobject_to_json().

The previous commit factored the JSON writer out of qobject_to_json().
Replace migration's JSON writer by it.

Cc: Juan Quintela <quintela@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-17-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-12-19 10:39:16 +01:00
..
allwinner-rtc.c hw/arm/allwinner: add RTC device support 2020-03-12 16:27:33 +00:00
aspeed_rtc.c hw: Move Aspeed RTC from hw/timer/ to hw/rtc/ subdirectory 2019-10-24 20:31:44 +02:00
ds1338.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
exynos4210_rtc.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
goldfish_rtc.c goldfish_rtc: change MemoryRegionOps endianness to DEVICE_NATIVE_ENDIAN 2020-10-13 13:33:46 +02:00
Kconfig hw: rtc: Add Goldfish RTC device 2020-02-10 12:01:37 -08:00
m41t80.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04: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 m48t59: remove legacy m48t59_init() function 2020-10-18 16:21:42 +01:00
mc146818rtc.c isa: Convert uses of isa_create() with Coccinelle 2020-06-15 22:05:28 +02:00
meson.build meson: convert hw/rtc 2020-08-21 06:30:27 -04:00
pl031.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sun4v-rtc.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
trace-events trace-events: Fix attribution of trace points to source 2020-09-09 17:17:58 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
twl92230.c migration: Replace migration's JSON writer by the general one 2020-12-19 10:39:16 +01:00
xlnx-zynqmp-rtc.c hw/rtc/xlnx-zynqmp-rtc: Remove unused "ptimer.h" include 2019-10-24 20:34:12 +02:00