On Thu, 2009-03-19 at 10:43 +0800, Matthew Garrett wrote: > On Thu, Mar 19, 2009 at 10:42:02AM +0800, yakui_zhao wrote: > > On Thu, 2009-03-19 at 09:21 +0800, Matthew Garrett wrote: > > > Yes. So how do we tell which ordering a machine needs without having a > > > blacklist? Windows doesn't. > > > > If there exists the different behaviour w/o the boot option, maybe it > > should be added to the blacklist. > > > > Maybe there is no such blacklist on windows. > > Quite. There shouldn't be on Linux. If there is no such blacklist, the suspend/resume can't wok well on some boxes. IMO this can be workaround for some boxes that can't be resumed. > > > I verify this problem on windows by using KVM and find that the _PTS > > object is called after device suspend in course of hibernate.(No S3 is > > supported on KVM). In theory the _PTS is also called after device > > suspend in course of suspend. > > What would it take to fake S3 on KVM enough that we could instrument > Windows' behaviour? The graphics simulated in KVM is too old. > > > But it is strange that suspend/resume can work well on windows XP. > > Maybe more registers are saved/restored in course of suspend. But we > > can't know what should be saved/restored. > > Nor can we continue adding machines to a blacklist. > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html