On 25.11.2011, at 00:11, Peter Maydell wrote: > On 24 November 2011 23:10, Alexander Graf <ag...@suse.de> wrote: >> On 25.11.2011, at 00:06, Peter Maydell wrote: >>> Well, once we've got real hardware it'll be more straightforward >>> because building QEMU on the hardware won't be quite so slow... >>> Most of this is just because crosscompiling is and remains painful. >>> (Alas, you can't compile QEMU in a QEMU arm-linux-user chroot, >>> because gcc segfaults. I blame our mmap emulation layer.) >> >> Just throw in MAP_32BIT in all mmaps and it should work like a charm :) > > Want to submit a patch that does that if the host is x86-64? > I think I'd rather pragmatically do that and fix the issues > in the actually common case rather than hold out for a larger > scale reimplementation of the mmap layer which we aren't in > practice going to do...
Happily, yes :). Alex