[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] reset strategy?
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] reset strategy? |
Date: |
Mon, 29 Jun 2015 20:46:46 +0300 |
> On 29 Jun 2015, at 20:37, Peter Crosthwaite <address@hidden> wrote:
>
>>> Are are these two devices really not connected to any bus?
>>
>> in my emulation, these devices are created with object_new() and not
>> connected to the sysbus or to any other bus.
>>
>
> how do they work?
just fine (so far).
> The way to think of it, is there are two hierarchies. The QOM
> hierarchy and the qbus/qdev hierarchy. The SoC and machine containers
> create a QOM hierarchy which is the bit we want to be "post qdev".
> There is still however the bus interconnections which need to form a
> valid qdev hierarchy. This should happen naturally using the parenting
> ops from the various examples around hw/arm.
since most of my code is practically started from scratch, I don't have any
dependencies on busses and qdev, so I'll focus only on the QOM hierarchy and
try to avoid qdev & co.
regards,
Liviu