|
| From: | Igor Mammedov |
| Subject: | Re: [Qemu-devel] [PATCH 1/7] qom: add object_property_add_alias() |
| Date: | Thu, 22 May 2014 16:05:46 +0200 |
On Wed, 21 May 2014 22:22:46 +0200
Stefan Hajnoczi <address@hidden> wrote:
> Sometimes an object needs to present a property which is actually on
> another object, or it needs to provide an alias name for an existing
> property.
>
> Examples:
> a.foo -> b.foo
> a.old_name -> a.new_name
this could be used for x86 cpu features where the same CPUID bit has
different names depending whether CPU is Intel or AMD based.
>
> The new object_property_add_alias() API allows objects to alias a
> property on another object. The source and target names can be
^^^ the same or
> different.
| [Prev in Thread] | Current Thread | [Next in Thread] |