[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore
From: |
malc |
Subject: |
Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore |
Date: |
Wed, 2 Nov 2011 21:55:57 +0400 (MSK) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
On Wed, 2 Nov 2011, Paolo Bonzini wrote:
> On 11/02/2011 06:16 PM, malc wrote:
> > (mm)Timers have a possibility of running on a thread of their own which
> > might be schedulled on the CPU different from the thread that runs
> > emulated code, unchaining TBs and can (and will) fail in this case.
>
> This should not be a problem with dynticks+iothread (i.e. it should work or
> not work equally). We now run just this basically when an alarm fires:
>
I was explaining rationale behind pinning stuff at the time it was done.
> t->expired = t->pending = 1;
> qemu_notify_event();
>
> The rest is always done in the iothread. The iothread will then
> suspend/resume the VCPU thread around the unchaining, so what matters is (in
> Unix parlance) signal-safety of the unchaining, not thread-safety.
>
> Paolo
>
--
mailto:address@hidden
- [Qemu-devel] Multiple instances of Qemu on Windows multicore, Fabien Chouteau, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Paolo Bonzini, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Fabien Chouteau, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, malc, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Paolo Bonzini, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore,
malc <=
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Peter Maydell, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Paolo Bonzini, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Peter Maydell, 2011/11/02
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Fabien Chouteau, 2011/11/03
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Fabien Chouteau, 2011/11/03
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Paolo Bonzini, 2011/11/03
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Avi Kivity, 2011/11/03
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Paolo Bonzini, 2011/11/03
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Fabien Chouteau, 2011/11/04
- Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore, Paolo Bonzini, 2011/11/04