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: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 0/5] qdev: add driver class support.
Date: Fri, 10 Jul 2009 11:59:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/10/09 11:46, Paul Brook wrote:
But we also
have to consider the case where a single device exposes multiple types
of capabilities.
I think we already agreed to move to a bitmap model to handle that.

I still think this is best done via properties, rather than as a separate
feature.

Properties really don't fit here IMO. Property values belong to a device *instance*, not to a device *driver*. If you stick two e1000 network cards into your virtual machine both instances will have different pci bus and mac addresses. They wouldn't have different device capabilities though.

cheers,
  Gerd




reply via email to

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