On Sat, Jun 26, 2010 at 04:46:28PM +0200, Markus Armbruster wrote:
drive_get_by_id() gets removed by 07/12. But there's still drive_get().
drive_get_by_blockdev()? blockdev_to_drive()?
Oh well, just keep any name - it's not that important aftet all.
Christoph Hellwig h...@lst.de writes:
On Sat, Jun 26, 2010 at 07:32:09AM +0200, Markus Armbruster wrote:
Christoph Hellwig h...@lst.de writes:
+DriveInfo *drive_of_blockdev(BlockDriverState *bs)
I'd call this find_drive_by_blockdev.
For what it's worth, all externally visible