diff options
author | Andreas Färber <afaerber@suse.de> | 2013-04-16 03:50:21 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-16 16:10:21 -0500 |
commit | 2f7bd829dbaf39eb14706c3e889f28b795e050ca (patch) | |
tree | b9dddf8fa75bbc06d0018eafeb111fbb8bfb5c94 /qom | |
parent | acbbc036619092fcd2c882222e1be168bd972b3e (diff) |
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 <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1366077021-28882-1-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions