X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmx_ctrl_regs.c;h=0f10f7e739be34b737b5b727b5eef22490ac53cb;hb=54be7fbb6b41d1241ad563a7135cdb28be73ff82;hp=2b0bfb5ae29af0b6b44a5a491ff183422464890b;hpb=ef99d19f9ee3ff28d07f83c240a557938b3ab0d5;p=palacios.releases.git diff --git a/palacios/src/palacios/vmx_ctrl_regs.c b/palacios/src/palacios/vmx_ctrl_regs.c index 2b0bfb5..0f10f7e 100644 --- a/palacios/src/palacios/vmx_ctrl_regs.c +++ b/palacios/src/palacios/vmx_ctrl_regs.c @@ -246,6 +246,8 @@ static int handle_mov_to_cr0(struct guest_info * info, v3_reg_t * new_cr0, struc // *(uint32_t *)shdw_cr0 = (0x00000020 & *(uint32_t *)new_shdw_cr0); *guest_cr0 = *new_shdw_cr0; + + guest_cr0->cd = 0; } guest_cr0->ne = 1;