|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 0/5] Platform device support |
Date: | Fri, 27 Jun 2014 13:48:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 27/06/2014 13:24, Alexander Graf ha scritto:
I think we can all agree that the sysbus bus is not a bus per se. So conceptually, what's the difference between a device attached to a non-bus and a device not attached to a bus at all? And why can't we convert sysbus to not be a bus anymore?
I think there is no difference, and I don't think moving out of sysbus is really a goal that we need to pursue.
I agree with Andreas that having a "SoC object" as father of sysbus (instead of "nothing at all") would be slightly better.
We could also make TYPE_MACHINE a subclass of TYPE_DEVICE, to have an obvious place for this SoC object.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |