qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH V7 11/19] tcg: switch on multithread.


From: Frederic Konrad
Subject: Re: [Qemu-devel] [RFC PATCH V7 11/19] tcg: switch on multithread.
Date: Thu, 13 Aug 2015 17:18:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 13/08/2015 16:58, Paolo Bonzini wrote:

On 13/08/2015 16:41, Frederic Konrad wrote:
One issue here is that when tcg_cpu_exec returns EXCP_HALTED, the
function keeps looping.  There is no need to set cpu->exit_request in
that case, since in fact there is no request pending, so the while loop
probably should be an "if".
Nice catch thanks!

I missed the fact that it was running through the list of VCPUs and
exited the
for(;;) loop.

I should rework this patch a little.. Maybe it's better to keep this
loop and exit it
when necessary eg: when icount elapse or cpu halted.
Yeah, I don't have a particularly strong opinion on that.  You can look
at my mttcg github branch for my rebase on top of yesterday's series.
It seems to work at least on the small GreenSoCs buildroot image.

Paolo

Their still seems to be something wrong with memory_region_rom_device_set_romd
or something more general.
I'm trying to find this.

Fred



reply via email to

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