On Thu, 2013-02-14 at 13:05 +0000, David Woodhouse wrote:
I'll probably have a look at OVMF under Xen now, and making sure that my CSM code works there. Then you shouldn't need to offer people the choice between OVMF and SeaBIOS because you'll have one image that handles everything (which is what people get on real hardware, and expect).
That part, at least, was surprisingly easy. The same OVMF images (with SeaBIOS-as-CSM) that I've been testing under Qemu work fine under Xen too. The OVMF build system is hosed for GCC 4.7 and your own Makefile also has 'GCC44' in the path when copying out the build result. when it could have been 'GCC4?' and at least been a little more robust. But that's just fluff. Basically, it works.
I did need to fix the VGA ROM you're shipping for Cirrus, which has the PCIR structure unaligned. That was it.
Again, this is without actually trying to boot any OS :)