]> Git Repo - qemu.git/commit
qdev: device_del: Search for to be unplugged device in 'peripheral' container
authorIgor Mammedov <[email protected]>
Thu, 2 Oct 2014 10:08:45 +0000 (10:08 +0000)
committerAndreas Färber <[email protected]>
Wed, 15 Oct 2014 03:03:15 +0000 (05:03 +0200)
commitb6cc36abb20a54a30fbd7d0ae98066df6c5adabc
tree0b941f306216d0ee7e52ec9c11180112acd54f70
parent7716b8ca7479dec146062c97453dd38e505a5ab4
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 <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
qdev-monitor.c
This page took 0.021631 seconds and 4 git commands to generate.