|
From: | Peter Lieven |
Subject: | [Qemu-devel] qemu-kvm-1.0.1 - unable to exit if vcpu is in infinite loop |
Date: | Thu, 28 Jun 2012 15:05:54 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 |
Hi,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. Thanks, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |