On 5 April 2013 09:45, li guang <lig.f...@cn.fujitsu.com> wrote: > 在 2013-04-05五的 09:35 +0100,Peter Maydell写道: >> What actual hardware is this supposed to be modelling? >> I don't believe there's such a thing as a 'generic >> power controller' that makes sense for all architectures. > > unfortunately, I'm considering it as generic and abstract. > I think we have no need to model a specific type of power > controller, because what we are doing is to construct a > power controlling process, not to realize a hardware platform's > device for special purpose.
QEMU is fundamentally modelling real hardware platforms, not abstract devices. You have to model a real power controller to at least some extent, because that's what guest OSes expect to be interacting with, and what device and board hardware models expect to be dealing with. -- PMM