qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2
Date: Tue, 19 Mar 2013 23:44:30 +0000

On 19 March 2013 23:35, Paolo Bonzini <address@hidden> wrote:
> Il 19/03/2013 23:34, Peter Maydell ha scritto:
>> On 19 March 2013 22:23, Paolo Bonzini <address@hidden> wrote:
>>> So, okay to put these in hw/arm and then I'll work on patches moving
>>> cpu_arm_init to a*mpcore.c?
>>
>> Wrong way round. If you can't put the cpu_arm_init into the a*mpcore
>> in a way that doesn't make you want to put them in hw/arm/ then
>> it should wait until we've QOMified the CPU cores sufficiently
>> that we can do it properly.
>
> Does that include calling the CPU constructor something else than
> cpu_arm_init (which is defined in target-arm/)?  For me that would be
> enough to put it in hw/arm.

The CPU should be created (and thus initialised and realised) the same
way as any other QOM object or device; the containers shouldn't need
to call cpu_arm_init directly.

-- PMM



reply via email to

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