summaryrefslogtreecommitdiffstats
path: root/hw/core
diff options
context:
space:
mode:
authorIgor Mammedov2014-10-02 12:08:45 +0200
committerAndreas Färber2014-10-15 05:03:15 +0200
commitb6cc36abb20a54a30fbd7d0ae98066df6c5adabc (patch)
tree0b941f306216d0ee7e52ec9c11180112acd54f70 /hw/core
parentqdev: HotplugHandler: Add support for unplugging BUS-less devices (diff)
downloadqemu-b6cc36abb20a54a30fbd7d0ae98066df6c5adabc.tar.gz
qemu-b6cc36abb20a54a30fbd7d0ae98066df6c5adabc.tar.xz
qemu-b6cc36abb20a54a30fbd7d0ae98066df6c5adabc.zip
qdev: device_del: Search for to be unplugged device in 'peripheral' container
device_add puts every device with 'id' inside of 'peripheral' container using id's value as the last component name. Use it by replacing recursive search on sysbus with path lookup in 'peripheral' container, which could handle both BUS and BUS-less device cases. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions