[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qdev: Deprecated qdev_init() is finally unused,
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] qdev: Deprecated qdev_init() is finally unused, drop |
Date: |
Thu, 12 Mar 2015 16:18:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 12/03/2015 16:10, Peter Maydell wrote:
> So is the non-deprecated approach to have the board call
> object_property_set_bool(OBJECT(dev), true, "realized", &err);
> directly itself (handling errors however it feels like) rather
> than calling qdev_init_nofail() ?
qdev_init_nofail seems a good enough name for a shortcut... The problem
with qdev_init was that it was a symptom of bad errors, but I would
happily un-deprecate qdev_init_nofail, especially until we figure out
whether we really want recursive realization.
Paolo