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 functions dealing with drives start with "drive_".
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 functions dealing with drives start with "drive_".