]> Git Repo - qemu.git/commit
qdev: Fix device_add bus assumptions
authorAndreas Färber <[email protected]>
Tue, 16 Apr 2013 01:50:21 +0000 (03:50 +0200)
committerAnthony Liguori <[email protected]>
Tue, 16 Apr 2013 21:10:21 +0000 (16:10 -0500)
commit2f7bd829dbaf39eb14706c3e889f28b795e050ca
treeb9dddf8fa75bbc06d0018eafeb111fbb8bfb5c94
parentacbbc036619092fcd2c882222e1be168bd972b3e
qdev: Fix device_add bus assumptions

Drop an unreachable fallback bus assignment to SysBus.

If no ,bus= is specified, only search busses recursively for bus type if
the DeviceClass has a bus_type specified. Handle resulting NULL cases.

Signed-off-by: Andreas Färber <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
Message-id: 1366077021[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
qdev-monitor.c
This page took 0.022407 seconds and 4 git commands to generate.