Am 18.04.2012 22:35, schrieb Anthony Liguori: > On 04/18/2012 03:28 PM, Blue Swirl wrote: >> On Tue, Apr 17, 2012 at 21:33, Anthony Liguori<aligu...@us.ibm.com> >> wrote: >>> <rant> >>> >>> Kernel loading is a hack. I'll go out on a limb and say that most >>> non-x86 >>> boards are doing it completely wrong. Messing around with CPU state >>> has no >>> business in machine init. It creates horrible dependencies about RAM >>> initialization order and problems for reset/live migration. >>> >>> The kernel should be presented as a virtual device (an emulated flash or >>> whatever) and there should be firmware that loads the kernel >>> appropriately. >>> Then we wouldn't need changes like this in the first place. >> >> BIOS is no hack, it is not used by qtest, MIPS refuses to start >> without one and >> we don't have any. > > So how does one test MIPS system emulation?
For -M malta I successfully used -kernel, -append and -hda with Aurélien's Debian images: http://people.debian.org/~aurel32/qemu/mips/ I did not need any additional BIOS. As reported in the cover letter of my mips QOM'ification series, Thiemo's 0.2 test images listed on the Wiki did not work for me: http://wiki.qemu.org/Testing Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg