]> git.proxmox.com Git - qemu.git/commit - hw/mc146818rtc.c
rtc: add a dynamic property for retrieving the date
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 20:29:39 +0000 (14:29 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 15 Dec 2011 15:20:49 +0000 (09:20 -0600)
commit182970509bd79635a5b16a06d2e918d3f5187486
tree84f13081446ffee885c144ce017b7d565962094d
parentd0c5be58704640850fad02c0ff38135f2e9aa589
rtc: add a dynamic property for retrieving the date

This really shows the power of dynamic object properties compared to qdev
static properties.

This property represents a complex structure who's format is preserved over the
wire.  This is enabled by visitors.

It also shows an entirely synthetic property that is not tied to device state.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/mc146818rtc.c