Re: KVM and Prempt?

Avi Kivity
2007-10-22T07:39:35Z

Back, Michael (ext) wrote:
>> -----Ursprüngliche Nachricht-----
>> Von: Gregory Haskins [mailto:ghaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org]
>> Gesendet: Friday, October 19, 2007 5:27 PM
>> An: Back, Michael (ext)
>> Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> Betreff: Re: AW: [kvm-devel] KVM and Prempt?
>>
>> On Fri, 2007-10-19 at 16:17 +0200, Back, Michael (ext) wrote:
>>
>>
>>>> Are you referring to the -rt patch?
>>>>
>>> Yes, I take the patch from
>>> http://www.kernel.org/pub/linux/kernel/projects/rt/
>>>
>>>
>> Ah, yes. There were problems in the past with running KVM on
>> -rt if you
>> have the full kit enabled. Its possible they are still not fixed.
>>
>> I had patches to address this issue for an older KVM and had it up and
>> running on a full PREEMPT_RT kernel, but they have become
>> quite stale at
>> this point. I will be picking up this work again sometime in the near
>> future, so watch this space.
>>
>> Are you building KVM as a module from the -rt tree, or as an external
>> module?
>>
>
> I use a external module, last try was kvm-46!
>
>

Make sure CONFIG_PREEMPT_NOTIFIER is selected in your .config. You'll
have to adjust Kconfig or select the in-tree kvm for that.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.