summaryrefslogtreecommitdiffstats
path: root/hw/input
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-04-14 17:29:47 +0200
committerKevin Wolf <kwolf@redhat.com>2015-04-28 15:36:09 +0200
commitd07063e46047242c4f010ff9ddbff5e02f15d9e7 (patch)
tree00a77b630fee541f122b9cd07aaf55ba3fac8df5 /hw/input
parent4eb867e98c1815d9d7a2a9380182005df12064a7 (diff)
downloadhqemu-d07063e46047242c4f010ff9ddbff5e02f15d9e7.zip
hqemu-d07063e46047242c4f010ff9ddbff5e02f15d9e7.tar.gz
m25p80: add missing blk_attach_dev_nofail
Of the block devices that poked into -drive options via drive_get_next, m25p80 was the only one who also did not attach itself to the BlockBackend. Since sd does it, and all other devices go through a "drive" property, with this change all block backends attached to the guest will have a non-NULL result for blk_get_attached_dev(). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 1429025387-11077-1-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/input')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud