qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] propose to implement ower device


From: li guang
Subject: Re: [Qemu-devel] propose to implement ower device
Date: Mon, 11 Mar 2013 08:34:46 +0800

在 2013-03-07四的 21:41 +0800,Wenchao Xia写道:
> 于 2013-3-7 11:40, li guang 写道:
> > Hi, Anthony and all
> >
> > By now all devices of QEMU do not have much more
> > power management consideration, for example, if
> > system do suspend, it will call all registered notifiers,
> > this was loosely required, and the code to do power management
> > state transition seems just do 'ugly emulation', rather than be
> > conscious with whole system devices, same condition with reset(it
> > has been embedded in DeviceClass, good!),
> > shutdown, in real world, commonly all devices' power are controlled
> > by a power chip, then all power sequence can be done just
> > issue commands to this chip.
> > so, I come across an idea to implement qdev'ed power device, and
> > make all qdev struct of devices aware of self power management(add
> > reset, suspend, shutdown ... filed for DeviceClass), this will
> > bring tidy power management, and the emulation will more like what
> > happened in real world.
> > Hope I've expressed my idea clearly, if you have any questions, let me
> > know, if get your permission, I'll step ahead to do this power
> > chip emulation work.
> >
> > Thanks!
> >
> >
> 
> Hi, Guang
>    it seems the mail was sent as a child mail of "Default guest RAM
> size". The topic is interesting, suggest resend it.

OK





reply via email to

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