On Mon, 2012-07-02 at 11:04 +0100, Ian Campbell wrote:
On Mon, 2012-07-02 at 13:47 +0400, Michael Tokarev wrote:
28.06.2012 14:07, Ian Campbell wrote:
On Wed, 2012-06-27 at 12:10 +0100, Ian Campbell wrote:
SeaBIOS using a config derived from xen/tools/firmware/seabios-config (which is the 1.6.x based config we use) works for me while a config from "make defconfig" does not. I will investigate further.
CONFIG_USE_SMM is the culprit.
Xen doesn't support SMM mode for HVM guests. Seems like the best option at this point is to disable SMM if usingXen().
I'll also include this in the series I'm about to send out.
So, what's the bottom line of all this discussion? Please excuse me but I don't understand what it is all about... And it looks like with at least stock 1.7 version of seabios it isn't a good idea to make universal image (with xen support included), right?
Right.
I sent out a series which fixed all the issues I discovered in the course of investigating this bug, including the SMM issue: http://marc.info/?l=xen-devel&m=134087840707895
Bastian, what do you think, is it okay to build a separate image for xen for now?
Backporting the above fixes if/when they are accepted would be another option.
FYI these are now in SeaBIOS mainline... I imagine they would backport trivially but if you want me to take a look please let me knw!
FWIW the .config used by xen-unstable to build SeaBIOS 1.6.x is http://xenbits.xen.org/hg/xen-unstable.hg/file/4f92bdf3370c/tools/firmware/s...
Ian.