summaryrefslogtreecommitdiffstats
path: root/util/iov.c
diff options
context:
space:
mode:
authorAndreas Färber2013-04-16 03:50:21 +0200
committerAnthony Liguori2013-04-16 23:10:21 +0200
commit2f7bd829dbaf39eb14706c3e889f28b795e050ca (patch)
treeb9dddf8fa75bbc06d0018eafeb111fbb8bfb5c94 /util/iov.c
parentrng random backend: check for -EAGAIN errors on read (diff)
downloadqemu-2f7bd829dbaf39eb14706c3e889f28b795e050ca.tar.gz
qemu-2f7bd829dbaf39eb14706c3e889f28b795e050ca.tar.xz
qemu-2f7bd829dbaf39eb14706c3e889f28b795e050ca.zip
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 'util/iov.c')
0 files changed, 0 insertions, 0 deletions