On Feb 16, 2015, at 6:41 PM, Peter Maydell wrote:

> On 17 February 2015 at 01:22, Kevin Wolf <kw...@redhat.com> wrote:
>> You could still apply some translation table to the menu entry string,
>> like:
>> 
>> floppy0     => Floppy drive A
>> floppy1     => Floppy drive B
>> ide0-cd0    => IDE CD-ROM (Primary Master)
>> ide0-cd1    => IDE CD-ROM (Primary Slave)
>> ide1-cd0    => IDE CD-ROM (Secondary Master)
>> ide1-cd1    => IDE CD-ROM (Secondary Slave)
> 
> It would be nice if every UI frontend didn't have to duplicate
> this code...

I told Kevin that the type field in the BlockInfo structure (qapi-types.h) 
looks unused. That could be used to store the above data. 

Reply via email to