qemu-patch-raspberry4/hw/ppc
Thomas Huth 8ccccff9dd hw/ppc/spapr_rtc: Mark the RTC device with user_creatable = false
QEMU currently aborts unexpectedly when a user tries to do something
like this:

$ qemu-system-ppc64 -nographic -S -nodefaults -monitor stdio
QEMU 2.9.92 monitor - type 'help' for more information
(qemu) device_add spapr-rtc,id=spapr-rtc
(qemu) device_del spapr-rtc
**
ERROR:qemu/qdev-monitor.c:872:qdev_unplug: assertion failed: (hotplug_ctrl)
Aborted (core dumped)

The RTC device is not meant to be hot-pluggable - it's an internal
device only and it even should not be possible to create it a
second time with the "-device" parameter, so let's mark this
with "user_creatable = false".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-08-22 21:26:46 +10:00
..
e500-ccsr.h
e500.c
e500.h
e500plat.c
fdt.c
mac.h
mac_newworld.c
mac_oldworld.c
Makefile.objs
mpc8544_guts.c
mpc8544ds.c
pnv.c
pnv_bmc.c
pnv_core.c
pnv_lpc.c
pnv_occ.c
pnv_psi.c
pnv_xscom.c
ppc.c
ppc4xx_devs.c
ppc4xx_pci.c
ppc405.h
ppc405_boards.c
ppc405_uc.c
ppc440_bamboo.c
ppc_booke.c
ppce500_spin.c
prep.c
prep_systemio.c
rs6000_mc.c
spapr.c
spapr_cpu_core.c
spapr_drc.c
spapr_events.c
spapr_hcall.c
spapr_iommu.c
spapr_ovec.c
spapr_pci.c
spapr_pci_vfio.c
spapr_rng.c
spapr_rtas.c
spapr_rtas_ddw.c
spapr_rtc.c hw/ppc/spapr_rtc: Mark the RTC device with user_creatable = false 2017-08-22 21:26:46 +10:00
spapr_vio.c
trace-events
virtex_ml507.c