qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH][RFC v2 2/7] hw/power: add main power chip imple


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH][RFC v2 2/7] hw/power: add main power chip implementation
Date: Fri, 5 Apr 2013 10:23:37 +0100

On 5 April 2013 09:45, li guang <address@hidden> 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



reply via email to

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