[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-kvm-1.0.1 - unable to exit if vcpu is in infinite
Re: [Qemu-devel] qemu-kvm-1.0.1 - unable to exit if vcpu is in infinite loop
Thu, 28 Jun 2012 15:25:46 +0200
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:18.104.22.168) Gecko/20080226 SUSE/22.214.171.124-1.1 Thunderbird/126.96.36.199 Mnenhy/0.7.5.666
On 2012-06-28 15:05, Peter Lieven wrote:
> i debugged my initial problem further and found out that the problem
> happens to be that
> the main thread is stuck in pause_all_vcpus() on reset or quit commands
> in the monitor
> if one cpu is stuck in the do-while loop kvm_cpu_exec. If I modify the
> condition from while (ret == 0)
> to while ((ret == 0) && !env->stop); it works, but is this the right fix?
> "Quit" command seems to work, but on "Reset" the VM enterns pause state.
Before entering the wait loop in pause_all_vcpus, there are kicks sent
to all vcpus. Now we need to find out why some of those kicks apparently
don't reach the destination.
- on which host kernels does this occur, and which change may have
- with which qemu-kvm version is it reproducible, and which commit
introduced or fixed it?
I failed reproducing so far.
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux