[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 0/3] qom: refactor Interfaces

From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH 0/3] qom: refactor Interfaces
Date: Fri, 15 Jun 2012 14:58:05 +1000

On Thu, Jun 14, 2012 at 6:54 AM, Anthony Liguori <address@hidden> wrote:
> The interface implementation was pretty busted.  The way it created Objects 
> for
> each interface was extremely clumbsy and brittle.
> This is a new implementation that does something quite a bit more natural.  It
> simply modifies classes such that they can affectively have more than one 
> super
> class.
> Interfaces never get instantiated.  Instead an object's class just refers to 
> its
> parent class and it's implemented interfaces.
> This should solve the issues Peter's run into

I will rebase my series on this and retest shortly.


 and also eliminate the recursive
> call to object_new() (its no longer necessary to allocate anything when 
> creating
> an object).
> This also comes with a test case for object.

reply via email to

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