[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] ui/cocoa.m: Machine menu patch for Mac OS X
From: |
Programmingkid |
Subject: |
Re: [Qemu-devel] [PATCH v3] ui/cocoa.m: Machine menu patch for Mac OS X |
Date: |
Mon, 16 Feb 2015 20:55:00 -0500 |
On Feb 16, 2015, at 6:41 PM, Peter Maydell wrote:
> On 17 February 2015 at 01:22, Kevin Wolf <address@hidden> 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.