X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_ctrl_regs.c;h=89d896baee3425b8245a6aae56a8e7c53378413e;hb=d11d67ed4a0554803379bfc13002fa2ec0e14cb5;hp=152a7c0a1e3e18c6c4e51f02daec647dc53115a6;hpb=bf0d677f3d92f5949c3a73dad30aaf330201da44;p=palacios.git diff --git a/palacios/src/palacios/vmm_ctrl_regs.c b/palacios/src/palacios/vmm_ctrl_regs.c index 152a7c0..89d896b 100644 --- a/palacios/src/palacios/vmm_ctrl_regs.c +++ b/palacios/src/palacios/vmm_ctrl_regs.c @@ -24,7 +24,7 @@ // force a shadow page table flush // It makes windows loading MUCH faster. // Note that this optimization appears to fail with a 2.6 linux kernel -#define CR3_RELOAD_OPTIMIZATION 0 +#define CR3_RELOAD_OPTIMIZATION 1 @@ -94,7 +94,7 @@ int handle_cr0_write(struct guest_info * info) { struct cr0_32 *real_cr0 = (struct cr0_32*)&(info->ctrl_regs.cr0); struct cr0_32 *new_cr0= (struct cr0_32 *)(dec_instr.src_operand.operand); - PrintDebug("OperandVal = %x, length=%d\n", *new_cr0, dec_instr_src_operand.size); + PrintDebug("OperandVal = %x, length=%d\n", *new_cr0, dec_instr.src_operand.size); PrintDebug("Old CR0=%x\n", *real_cr0);