qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC, PATCH 10/11] qdev: Add do_info_qbus and friends.


From: Markus Armbruster
Subject: Re: [Qemu-devel] [RFC, PATCH 10/11] qdev: Add do_info_qbus and friends.
Date: Mon, 18 Jan 2010 13:34:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Gerd Hoffmann <address@hidden> writes:

>> However, because there are both device properties and bus properties
>> (really: device properties common to all devices on this bus), their
>> names can clash.  Device properties take precedence (see
>> qdev_prop_find()).  Hmm, qdev_printf() prints even overridden bus
>> properties, not sure that's appropriate.  Gerd?
>
> IMHO they must not clash.  This isn't enforced in any way though.

If they must not clash, then it makes no sense to invent a fancy prefix
to cope with clashes, I think.

Alternatively, we could declare devices overriding properties inherited
from the bus a feature.  Does it make any sense to show the shadowed
properties then?




reply via email to

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