Re: [Qemu-devel] [PATCH 1/3] ide: qdev: register ide bus unrealize function

2017-03-02 Thread Philippe Mathieu-Daudé
On 03/02/2017 07:08 AM, Li Qiang wrote: we have an idebus unrealize function, but it was being registered as the unrealize function for the IDE Device, so it was not getting invoked on device teardown because nothing is "unrealizing" the IDE devices themselves. nice catch Suggested-by: John

[Qemu-devel] [PATCH 1/3] ide: qdev: register ide bus unrealize function

2017-03-02 Thread Li Qiang
we have an idebus unrealize function, but it was being registered as the unrealize function for the IDE Device, so it was not getting invoked on device teardown because nothing is "unrealizing" the IDE devices themselves. Suggested-by: John Snow Signed-off-by: Li Qiang --- hw/ide/qdev.c | 12 ++