在 2013-04-05五的 09:35 +0100,Peter Maydell写道: > On 5 April 2013 05:28, liguang <lig.f...@cn.fujitsu.com> wrote: > > here, we will handle power state transition between > > on, off, suspend, wakeup, we treat reset as power > > on then off, and power out pin will be connected to > > power in pin of devices, if we want a transition, > > we will trigger a power signal(qemu_irq), then all > > connected devices will be reply for this. > > 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. Yes, you can say not all devices are happy to do with power management, but I would say, I'm not going to force every devices to do that.
- [Qemu-devel] [PATCH][RFC v2 7/7] vl: run power_management liguang
- [Qemu-devel] [PATCH][RFC v2 6/7] ich9: refactor wakeup/reset... liguang
- [Qemu-devel] [PATCH][RFC v2 3/7] vl: create power chip devic... liguang
- Re: [Qemu-devel] [PATCH][RFC v2 3/7] vl: create power c... Paolo Bonzini
- Re: [Qemu-devel] [PATCH][RFC v2 3/7] vl: create pow... li guang
- Re: [Qemu-devel] [PATCH][RFC v2 3/7] vl: create... Paolo Bonzini
- Re: [Qemu-devel] [PATCH][RFC v2 3/7] vl: cr... li guang
- Re: [Qemu-devel] [PATCH][RFC v2 3/7] v... Paolo Bonzini
- [Qemu-devel] [PATCH][RFC v2 2/7] hw/power: add main power ch... liguang
- Re: [Qemu-devel] [PATCH][RFC v2 2/7] hw/power: add main... Peter Maydell
- Re: [Qemu-devel] [PATCH][RFC v2 2/7] hw/power: add ... li guang
- Re: [Qemu-devel] [PATCH][RFC v2 2/7] hw/power: ... Peter Maydell
- Re: [Qemu-devel] [PATCH][RFC v2 2/7] hw/pow... li guang
- Re: [Qemu-devel] [PATCH][RFC v2 2/7] h... Peter Maydell
- Re: [Qemu-devel] [PATCH][RFC v2 2/... li guang
- Re: [Qemu-devel] [PATCH][RFC v2 2/... Paolo Bonzini