qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/7] qom: add object_property_add_alias()


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/7] qom: add object_property_add_alias()
Date: Thu, 22 May 2014 16:39:22 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, May 22, 2014 at 04:05:46PM +0200, Igor Mammedov wrote:
> 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.

Yes

> > 
> > 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 

Okay, will fix.



reply via email to

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