qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add


From: Liviu Ionescu
Subject: Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors)
Date: Sun, 14 Jun 2015 17:21:06 +0300

> On 14 Jun 2015, at 04:49, Peter Crosthwaite <address@hidden> wrote:
> 
> ...
> The number of machine init args blew out of control at one stage so
> they were structified. It was natural to roll this struct into the
> machine-state struct.

can we have multiple machine instances simultaneously, each with its different 
init args?

if not, a global get_init_args() would do the job even more naturally, and be 
accessible from anywhere, including from the MCU constructor, without having to 
bother forwarding it from the machine through multiple constructors.


regards,

Liviu





reply via email to

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