]> git.proxmox.com Git - mirror_qemu.git/commit
ide: qdev: register ide bus unrealize function
authorLi Qiang <liq3ea@gmail.com>
Thu, 16 Mar 2017 00:50:14 +0000 (20:50 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 16 Mar 2017 00:50:14 +0000 (20:50 -0400)
commit44a109c1b38ddc9f853c33861875d0a85262de4f
tree9f0847c20bab9f400b7dbc348a28a0d8c459dc6d
parent1883ff34b540daacae948f493b0ba525edf5f642
ide: qdev: register ide bus unrealize function

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 <jsnow@redhat.com>
Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1488449293-80280-2-git-send-email-liqiang6-s@360.cn
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/qdev.c