KVM: svm: init cr0 with the wp bit set

Signed-off-by: Avi Kivity <avi@qumranet.com>

+1 -1
+1 -1
drivers/kvm/svm.c
··· 554 554 * cr0 val on cpu init should be 0x60000010, we enable cpu 555 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 558 save->cr4 = CR4_PAE_MASK; 559 559 /* rdx = ?? */ 560 560 }