X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_ctrl_regs.c;h=d3e9360e6d68294297ddd34edc1f3b5e0827aeed;hp=bbeaf4ceb54650315d27194748721c89bd8ca51b;hb=0e097100a26bc43eb8964734fa43130fc4c71429;hpb=6cbdc3c14d417e26bf6dfdf08e19e09db44fdf51 diff --git a/palacios/src/palacios/vmm_ctrl_regs.c b/palacios/src/palacios/vmm_ctrl_regs.c index bbeaf4c..d3e9360 100644 --- a/palacios/src/palacios/vmm_ctrl_regs.c +++ b/palacios/src/palacios/vmm_ctrl_regs.c @@ -324,21 +324,6 @@ int v3_handle_cr3_write(struct guest_info * info) { } -#ifdef CONFIG_CRAY_XT - - // If Paging is enabled in the guest then we need to change the shadow page tables - if (info->mem_mode == VIRTUAL_MEM) { - if (info->shdw_pg_state.prev_guest_cr3 != info->shdw_pg_state.guest_cr3) { - if (v3_activate_shadow_pt(info) == -1) { - PrintError("Failed to activate 32 bit shadow page table\n"); - return -1; - } - } - } - - info->shdw_pg_state.prev_guest_cr3 = info->shdw_pg_state.guest_cr3; -#else - // If Paging is enabled in the guest then we need to change the shadow page tables if (info->mem_mode == VIRTUAL_MEM) { if (v3_activate_shadow_pt(info) == -1) { @@ -346,9 +331,6 @@ int v3_handle_cr3_write(struct guest_info * info) { return -1; } } - -#endif - PrintDebug("New Shadow CR3=%p; New Guest CR3=%p\n", (void *)(addr_t)(info->ctrl_regs.cr3),