diff options
author | Anthony Liguori | 2011-12-19 23:37:46 +0100 |
---|---|---|
committer | Anthony Liguori | 2011-12-19 23:39:16 +0100 |
commit | 1de81d2832e210dda43a101e4163a17bc4d9c71d (patch) | |
tree | 04a50235fae13760bc71d652d6fe15d8d6f043f5 /hw/ide/isa.c | |
parent | sysbus: remove sysbus_init_mmio_cb2 (diff) | |
download | qemu-1de81d2832e210dda43a101e4163a17bc4d9c71d.tar.gz qemu-1de81d2832e210dda43a101e4163a17bc4d9c71d.tar.xz qemu-1de81d2832e210dda43a101e4163a17bc4d9c71d.zip |
qdev: fix hotplug when no -device is specified
The peripheral[-anon] containers are initialized lazily but since they sit on
sysbus, they can not be created after realize. This was causing an abort() to
occur during hotplug if no -device option was used.
This was spotted by qemu-test::device-add.sh
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/isa.c')
0 files changed, 0 insertions, 0 deletions