qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [CFT PATCH 06/12] exit round-robin vcpu loop if cpu->st


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [CFT PATCH 06/12] exit round-robin vcpu loop if cpu->stopped is true
Date: Wed, 09 Feb 2011 08:24:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/08/2011 09:24 PM, Jan Kiszka wrote:
Hmm, does this path actually trigger? If yes, does it happen to obsolete
the global exit_request hack?

No idea, I wanted to make the initial work as mechanical as possible. By inspection, cpu_stop_current is doing

         cpu_single_env->stopped = 1;
         cpu_exit(cpu_single_env);

without setting ->stop. (I'm changing that in patch 7, but I'm setting ->stop to 0, not 1).

Paolo



reply via email to

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