Re: [kvm-devel] [PATCH] SVM: remove selective CR0 comment

2008-04-18 Thread Avi Kivity
Joerg Roedel wrote: > 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

[kvm-devel] [PATCH] SVM: remove selective CR0 comment

2008-04-16 Thread Joerg Roedel
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.