qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/5] qdev: add driver class support.


From: Filip Navara
Subject: Re: [Qemu-devel] [PATCH 0/5] qdev: add driver class support.
Date: Thu, 9 Jul 2009 16:34:57 +0200

On Thu, Jul 9, 2009 at 3:19 PM, Paul Brook<address@hidden> wrote:
> On Thursday 09 July 2009, Gerd Hoffmann wrote:
>>   Hi,
>>
>> This patch series brings driver classes to qdev.
>>
>> DeviceInfo gets a new field specifying what kind of device this is.
>> For starters there are Sound cards and Network cards.  The number
>> of device classes will probably grow over time.
>>
>> The device class will be shown in the listing printed by '-device ?', so
>> users and management apps can figure what kinds of -- say -- network
>> cards are supported by that particular qemu binary.
>
> I'm not sure this is a good idea. You should be able to figure it out from the
> device properties. Plus there's no reason why a device can't implement
> multiple "classes" of device.
>
> Paul

I was just thinking about the same. There are several multi-class devices and
I don't see a way to represent them with this mechanism.

Best regards,
Filip Navara




reply via email to

[Prev in Thread] Current Thread [Next in Thread]