On Fri, Mar 08, 2013 at 12:03:15AM +0800, Peter Maydell wrote:
On 7 March 2013 23:56, Gerd Hoffmann kraxel@redhat.com wrote:
Peter Maydell wrote:
In general having blobs in our allegedly source tarball is pretty ugly. Either it's a source release or it isn't. We can do a release-of-blobs tarball too if we want, but it doesn't need to be in the source tarball
This is easily doable, just an update to scripts/make-release to spew two tarballs (one source, one blobs).
We probably want update the build process to build the blobs by default (if the compilers needed are installed). Blueswirl started that already for sparc firmware I think.
Earlier in this thread it's been stated that this often produces subtly broken blobs...
Would it be possible to have a testsuite to validate such blobs. For example the breakage which happens recently is due to the size of the bios reaching 128kB. This is something easy to check.
On the QEMU side, we should definitely have an autotest system trying to boot a few guests (and if possible with some !linux) to detect such issues. That's not something easy to do, maybe that could be a good GSoC project?
Aurelien Jarno wrote:
We probably want update the build process to build the blobs by default
Earlier in this thread it's been stated that this often produces subtly broken blobs...
Would it be possible to have a testsuite to validate such blobs.
The coreboot project has a test system which although not used much does allow distributed testing. Maybe it could be replicated for SeaBIOS.
//Peter
Il 07/03/2013 17:21, Aurelien Jarno ha scritto:
On the QEMU side, we should definitely have an autotest system trying to boot a few guests (and if possible with some !linux) to detect such issues. That's not something easy to do, maybe that could be a good GSoC project?
There is virt-test (formerly known as KVM Autotest). I did some of the lifting required to have !x86 guests, but haven't yet actually created the images.
We (Red Hat) use that to run sanity tests on qemu.git. These tests last ~2.5 hours and include guest installations.
Alternatively, you can use a pre-built image (the download is ~150MB compressed) and run tests on it. See the patch at http://permalink.gmane.org/gmane.comp.emulators.qemu/197856 that adds "make check-autotest" to QEMU. The tests it runs last a little less than 1 hour.
Paolo