Paolo Bonzini writes:
> On 06/26/2010 04:46 PM, Markus Armbruster wrote:
>> drive_get_by_blockdev()? blockdev_to_drive()?
>
> I like drive_find_by_blockdev or drive_get_by_blockdev, in any case
> I'll make sure my own cpu_get_by_id is named in the same style that
> you choose.
drive_get_by_bloc
On 06/26/2010 04:46 PM, Markus Armbruster wrote:
drive_get_by_blockdev()? blockdev_to_drive()?
I like drive_find_by_blockdev or drive_get_by_blockdev, in any case I'll
make sure my own cpu_get_by_id is named in the same style that you choose.
Paolo
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 writes:
> On Sat, Jun 26, 2010 at 07:32:09AM +0200, Markus Armbruster wrote:
>> Christoph Hellwig writes:
>>
>> >> +DriveInfo *drive_of_blockdev(BlockDriverState *bs)
>> >
>> > I'd call this find_drive_by_blockdev.
>>
>> For what it's worth, all externally visible functions d
On Sat, Jun 26, 2010 at 07:32:09AM +0200, Markus Armbruster wrote:
> Christoph Hellwig 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 "driv
Christoph Hellwig 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_".
> +DriveInfo *drive_of_blockdev(BlockDriverState *bs)
I'd call this find_drive_by_blockdev.