]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: remove selective CR0 comment
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 16 Apr 2008 15:01:05 +0000 (17:01 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 15:21:44 +0000 (18:21 +0300)
commitc508192cdedae3839bd7074df112ce94ae370bf5
treebd9aa8ff8f72cf6cbd109e5bf0c2206ef2374bd3
parentcbb540b85327f44db3db7295403fe13b1272beef
KVM: SVM: remove selective CR0 comment

There is not selective cr0 intercept bug. The code in the comment sets the
CR0.PG bit. But KVM sets the CR4.PG bit for SVM always to implement the paged
real mode. So the 'mov %eax,%cr0' instruction does not change the CR0.PG bit.
Selective CR0 intercepts only occur when a bit is actually changed. So its the
right behavior that there is no intercept on this instruction.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c