Re: [Qemu-devel] [PATCH] qdev: fix hotplug when no -device is specified

2012-01-13 Thread Markus Armbruster
device_del is broken for me in master: $ qemu-system-x86_64 -nodefaults -S -m 384 -vnc :0 -monitor stdio -usb QEMU 1.0.50 monitor - type 'help' for more information (qemu) device_add usb-mouse,id=foo (qemu) device_del foo Device 'foo' is in use Same for any hot-pluggable device I tried, with and

[Qemu-devel] [PATCH] qdev: fix hotplug when no -device is specified

2011-12-19 Thread Anthony Liguori
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 --- hw/qde