Re: [Qemu-devel] [PATCH] m25p80: add missing blk_attach_dev_nofail

2015-04-21 Thread Stefan Hajnoczi
On Tue, Apr 14, 2015 at 05:29:47PM +0200, Paolo Bonzini wrote: > 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 t

Re: [Qemu-devel] [PATCH] m25p80: add missing blk_attach_dev_nofail

2015-04-20 Thread Peter Crosthwaite
On Tue, Apr 14, 2015 at 8:29 AM, Paolo Bonzini wrote: > 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 chang

[Qemu-devel] [PATCH] m25p80: add missing blk_attach_dev_nofail

2015-04-14 Thread Paolo Bonzini
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