qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu ARM host support likely to be broken in 1.0
@ 2011-11-04  1:52 Peter Maydell
  2011-11-04  7:53 ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2011-11-04  1:52 UTC (permalink / raw)
  To: QEMU Developers

This is just a quick email to summarise a discussion on IRC.

QEMU on ARM hosts (not ARM guests!) is currently broken in
at least the following ways:
 * configure will select the ucontext coroutine implementation
but on ARM makecontext returns ENOSYS and we will abort() on
startup
 * the fixed address we mmap the code gen buffer to in system
mode tends to overlap the libc heap (at least on Ubuntu oneiric);
when this happens you typically get a sysmalloc abort
 * there is a bug I have not investigated which causes an
i386 guest image to loop infinitely resetting before it brings
up the grub menu
 * the TCG_AREG0 is r7, which clashes with the Thumb frame
pointer, with the effect that --enable-debug fails to compile

ARM host support for TCG is not a very high priority for me and
I don't expect to fix any of these before 1.0 is released. I'm
happy to test patches if anybody else wishes to write them :-)

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu ARM host support likely to be broken in 1.0
  2011-11-04  1:52 [Qemu-devel] qemu ARM host support likely to be broken in 1.0 Peter Maydell
@ 2011-11-04  7:53 ` Paolo Bonzini
  2011-11-04 13:08   ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2011-11-04  7:53 UTC (permalink / raw)
  To: qemu-devel

On 11/04/2011 02:52 AM, Peter Maydell wrote:
>   * the fixed address we mmap the code gen buffer to in system
> mode tends to overlap the libc heap (at least on Ubuntu oneiric);
> when this happens you typically get a sysmalloc abort

Let's change this to use the .bss code gen buffer.  We can make it 
depend on __arm__ for 1.0, and toggle it for all architectures for 1.1 
after testing on Windows (Linux and Mac OS X should have no problem).

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu ARM host support likely to be broken in 1.0
  2011-11-04  7:53 ` Paolo Bonzini
@ 2011-11-04 13:08   ` Peter Maydell
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2011-11-04 13:08 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

On 4 November 2011 07:53, Paolo Bonzini <pbonzini@redhat.com> wrote:
> On 11/04/2011 02:52 AM, Peter Maydell wrote:
>>
>>  * the fixed address we mmap the code gen buffer to in system
>> mode tends to overlap the libc heap (at least on Ubuntu oneiric);
>> when this happens you typically get a sysmalloc abort
>
> Let's change this to use the .bss code gen buffer

Does anybody know why we don't just use the .bss codegen
buffer all the time for everything anyway?

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-04 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04  1:52 [Qemu-devel] qemu ARM host support likely to be broken in 1.0 Peter Maydell
2011-11-04  7:53 ` Paolo Bonzini
2011-11-04 13:08   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).