Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348

From: Luis Henriques
Date: Thu Dec 04 2008 - 17:05:46 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/