On 02/14/13 21:55, David Woodhouse wrote:
So, if real hardware would reset the PAMs on reset and avoid the need for SeaBIOS to do so, I think we should be doing the same in qemu too.
That's what I couldn't figure out from the i440FX spec, but I believe one could argue that "reset" should in fact re-set the state that was observable at VM startup.
Thanks for testing this, btw. Are you looking at suspend/resume too? :)
I'm either not looking, or not admitting it! :)
In earnest: I "approached" Platform Initialization S3 resume cautiously, then fled in a panic. See Chapter 8 in Volume 5 -- Jordan convinced me that this scripting language was in fact reasonable, but the work needed to follow through OVMF PI, make it S3 resume compliant, and record everything into a script at cold boot looks very threatening.
Regarding S3 in SeaBIOS CSM: I haven't tried it yet, but I can press the button in guests if you want me to.
Laszlo