qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC 09/20] cpu: introduce cpu_realize()


From: Andreas Färber
Subject: Re: [Qemu-devel] [RFC 09/20] cpu: introduce cpu_realize()
Date: Wed, 19 Dec 2012 00:13:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Am 18.12.2012 21:04, schrieb Eduardo Habkost:
> This is just for testing/demonstration purposes. Probably this will be
> replaced by the more generic DeviceState realize() method, later.
> 
> Signed-off-by: Eduardo Habkost <address@hidden>

Such a function was nack'ed for Object, the reason being that the goal
was to set realized = true in one central place rather than sprinkling
_realize() calls everywhere as done for qdev init.

Since CPU is close to becoming a device, I would rather not do this
differently for the CPU, but I can truely understand the utility of it
in this series... :)

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

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