qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 03/14] qdev: add qdev_add_properties


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 03/14] qdev: add qdev_add_properties
Date: Wed, 02 May 2012 00:12:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0

Il 02/05/2012 00:01, Anthony Liguori ha scritto:
> 
> There's magic in the qdev layer now to decide whether a Property in the
> array of properties becomes a legacy or static property (it's only ever
> exposed as one type).

I don't think this is true: a legacy property always has a static
counterpart.  The magic (really just a fallback) is to decide whether
-device <type>,<prop>=<value> will use the legacy property or a string
visitor + a static property.

Paolo



reply via email to

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