qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] qom: Introduce object_realize_nofail()


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH v2] qom: Introduce object_realize_nofail()
Date: Thu, 12 Apr 2012 17:09:23 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0

On 04/12/2012 05:02 PM, Andreas Färber wrote:
Am 12.04.2012 23:24, schrieb Anthony Liguori:
I guess I don't understand what the problem we're trying to solve is.

Why can't we introduce an Object::realize() and just have it not
automatically call DeviceState::init()?  That way we have a way to
clearly indicate whether a device needs to be refactored.

That would be perfect, but means we should drop Paolo's 23/24 v2 and due
to legacy compatibility I do need either object_realize_nofail() or an
inline version thereof.

I don't understand which "legacy compatibility" you're referring to. Can you be specific?

Regards,

Anthony Liguori


Andreas





reply via email to

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