qemu/qom
David Gibson 8e099d14f5 Generalize QOM publishing of date and time from mc146818rtc.c
The mc146818rtc driver exposes the current RTC date and time via the "date"
property in QOM (which is also aliased to the machine's "rtc-time"
property).  Currently it uses a custom visitor function rtc_get_date to
do this.

This patch introduces new helpers to the QOM core to expose struct tm
valued properties via a getter function, so that this functionality can be
more easily duplicated in other RTC implementations.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-03-09 14:59:55 +01:00
..
container.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
cpu.c error: Use error_report_err() where appropriate 2015-02-18 10:51:09 +01:00
Makefile.objs add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
object_interfaces.c add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
object.c Generalize QOM publishing of date and time from mc146818rtc.c 2015-03-09 14:59:55 +01:00
qom-qobject.c qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00