Hi, Can you please explain me why qemu user mode doesn't get along nicely with POSIX threads. ??
Thanks and regards -Naresh Bhat On Tue, Aug 28, 2012 at 1:51 PM, Mulyadi Santosa <mulyadi.sant...@gmail.com> wrote: > Hi.. > > On Tue, Aug 28, 2012 at 3:04 PM, Naresh Bhat <nareshgb...@gmail.com> wrote: >> Hi All, >> >> I have the following questions related to QEMU >> >> a. Does the userland emulation mode of QEMU support running >> multiple processes on separate processors? (i.e. if we were running >> ARM7 emulation on a x86 machine with 8 CPU cores, can we launch one >> ARM7 binary per CPU?). > > yes, qemu user mode is running just like plain normal process. Maybe > you just need to add cpu affinity here to lock them to certain > processor... > >> b. Same question as (a), but for threads. That is, for a single >> ARM7 multi-threaded process, can we run different threads on >> different underlying CPUs? > > IIRC, qemu user mode doesn't get along nicely with POSIX threads.... > > -- > regards, > > Mulyadi Santosa > Freelance Linux trainer and consultant > > blog: the-hydra.blogspot.com > training: mulyaditraining.blogspot.com -- "For things to change, we must change" -Naresh Bhat