qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] fix gdbstub support for multiple threads in


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [PATCH] fix gdbstub support for multiple threads in usermode, v2
Date: Tue, 16 Jun 2009 20:25:53 +0100
User-agent: KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; )

On Tuesday 16 June 2009, Antti P Miettinen wrote:
> Paul Brook <address@hidden> writes:
> > Using threads for CPU emulation is just plain wrong.
> >
> Could you elaborate a bit? I've sort of assumed that to get reasonable
> performance out of emulating a parallel target on a parallel host,

You have taken this comment out of context.

Exposing multiple CPUs as threads to GDB is incorrect. Each CPU has its own 
MMU (i.e. address space), so they should be exposed as processes, not threads.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]