[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4937F8F1.3070402@redhat.com>
Date: Thu, 04 Dec 2008 17:36:17 +0200
From: Avi Kivity <avi@...hat.com>
To: Luis Henriques <henrix@...o.pt>
CC: Steven Rostedt <srostedt@...hat.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348
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.
--
error compiling committee.c: too many arguments to function
View attachment "kvm-ftrace-peace.patch" of type "text/plain" (1732 bytes)
Powered by blists - more mailing lists