X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmx_ctrl_regs.c;h=0f10f7e739be34b737b5b727b5eef22490ac53cb;hb=f65a7b2c1b9bd2196054ac2cabd0b09472b0d83f;hp=2b0bfb5ae29af0b6b44a5a491ff183422464890b;hpb=60628a7a3b37ac2dae5c033d3c4ee9e9f6af7d95;p=palacios.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;