diff options
Diffstat (limited to 'drivers/kvm/svm.c')
| -rw-r--r-- | drivers/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 711ea42370a8..57aad502e078 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
| @@ -554,7 +554,7 @@ static void init_vmcb(struct vmcb *vmcb) | |||
| 554 | * cr0 val on cpu init should be 0x60000010, we enable cpu | 554 | * cr0 val on cpu init should be 0x60000010, we enable cpu |
| 555 | * cache by default. the orderly way is to enable cache in bios. | 555 | * cache by default. the orderly way is to enable cache in bios. |
| 556 | */ | 556 | */ |
| 557 | save->cr0 = 0x00000010 | CR0_PG_MASK; | 557 | save->cr0 = 0x00000010 | CR0_PG_MASK | CR0_WP_MASK; |
| 558 | save->cr4 = CR4_PAE_MASK; | 558 | save->cr4 = CR4_PAE_MASK; |
| 559 | /* rdx = ?? */ | 559 | /* rdx = ?? */ |
| 560 | } | 560 | } |
