From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Mon, 27 Oct 2008 09:48:16 +0000 Subject: Re: [patch] fold struct vcpu_info into CPUState Message-Id: <49058E60.6080507@sgi.com> List-Id: References: <48E0F318.7050303@sgi.com> In-Reply-To: <48E0F318.7050303@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org Hollis Blanchard wrote: > It looks like qemu is actually switching threads when this happens... > I'm not sure what the current state is of qemu/KVM threads... I think we > have 1 thread per vcpu, plus 1 IO thread? If that's right, maybe > current_env isn't being initialized in the IO thread; I only see that > happening inside ap_main_loop(), which is the vcpu thread. > Hmmm, this is bizarre. If it was the IO thread dieing because of this I would expect the same to happen on ia64. Could you try and add a test in the code to find out which thread you are when you die, and maybe check for current_env being valid? Thanks, Jes