lkml.org 
[lkml]   [2008]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [kvm-devel] [PATCH 8/8] SVM: add support for Nested Paging
Joerg Roedel wrote:
>
>> What happens to lazy fpu if we don't trap cr0 changes?
>>
>> Perhaps it's worth disabling lazy fpu with npt.
>>
>
> It should be implicitly disabled with npt because accesses to cr3 are
> not intercepted anymore. The svm_set_cr3 function is the only place
> which disables fpu switching.
>

Okay. We may want to investigate enabling it later, but no hurry now.

On the other hand, we want to trap cr0 so the guest can't control the
cache disable bits. Also cr4.pce and cr4.mce.

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2008-01-27 11:03    [W:0.052 / U:5.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site