public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luis Henriques <henrix@sapo.pt>
To: Avi Kivity <avi@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348
Date: Thu, 4 Dec 2008 22:05:11 +0000	[thread overview]
Message-ID: <20081204220511.GA3510@hades.domain.com> (raw)
In-Reply-To: <4937F8F1.3070402@redhat.com>

On Thu, Dec 04, 2008 at 05:36:17PM +0200, Avi Kivity wrote:
> Avi Kivity wrote:
>> Steven Rostedt wrote:
>>> The following must be available without recursion for the function
>>> tracer to work:
>>>
>>>   local_irq_save/restore
>>>   smp_processor_id
>>>   preempt_enable/disable_notrace
>>>   atomic_inc/dec
>>>   
>>
>> In arch/x86/kvm/svm.c, function svm_vcpu_run(), everything between the  
>> vmrun instruction and the call to load_host_msrs() is executed without  
>> a live pda, so no smp_processor_id().  Could easily be fixed by  
>> rearranging things.
>>
>>
>
> Luis, please try the attached patch.

Sorry for taking so long testing the patch.  However, I got exactly the same
result as before, i.e., a crash.

Regards,
-- 
Luis Henriques

  reply	other threads:[~2008-12-04 22:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-30 19:34 [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348 Luis Henriques
2008-11-30 20:20 ` Avi Kivity
2008-11-30 20:38   ` Luis Henriques
2008-11-30 20:44     ` Avi Kivity
2008-11-30 21:04       ` Luis Henriques
2008-12-02 12:23         ` Avi Kivity
2008-12-02 12:25           ` Avi Kivity
2008-12-02 12:31             ` Avi Kivity
2008-12-02 19:09           ` Luis Henriques
2008-12-02 19:27             ` Avi Kivity
2008-12-02 19:30             ` Avi Kivity
2008-12-02 19:46             ` Luis Henriques
2008-12-02 20:25               ` Steven Rostedt
2008-12-02 20:38                 ` Avi Kivity
2008-12-02 20:48                   ` Steven Rostedt
2008-12-02 20:56                     ` Avi Kivity
2008-12-04 15:36                   ` Avi Kivity
2008-12-04 22:05                     ` Luis Henriques [this message]
2008-12-02 20:46                 ` Luis Henriques
2008-12-02 21:16                   ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081204220511.GA3510@hades.domain.com \
    --to=henrix@sapo.pt \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=srostedt@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox