ppc/spapr: QOM'ify sPAPRRTCState
commit147ff8079ee0cf45562e202c1054814f14628b65
authorCédric Le Goater <clg@kaod.org>
Tue, 7 Mar 2017 09:23:40 +0000 (7 10:23 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:00:41 +0000 (26 12:00 +1000)
tree8b8c8652b526f81ca6b25e758bcfeb59d4826ef7
parent3fa14fbe1310e8980072447ba405571be7a78a5d
ppc/spapr: QOM'ify sPAPRRTCState

Also use an 'sPAPRRTCState' attribute under the sPAPR machine to hold
the RTC object. Overall, these changes remove an unnecessary and
implicit dependency on SysBus.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
hw/ppc/spapr_events.c
hw/ppc/spapr_rtc.c
include/hw/ppc/spapr.h
include/hw/ppc/xics.h