From: Jack Lange Date: Sun, 26 Apr 2009 23:00:27 +0000 (-0500) Subject: removed unused msrs X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=933aa1df41e2012da0031fc90353f226bdb212f9 removed unused msrs --- diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 1f0293f..c17fba6 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -168,21 +168,6 @@ struct guest_info { struct v3_profiler profiler; void * decoder_state; - - v3_msr_t guest_efer; - - /* Do we need these ? */ - v3_msr_t guest_star; - v3_msr_t guest_lstar; - v3_msr_t guest_cstar; - v3_msr_t guest_syscall_mask; - v3_msr_t guest_gs_base; - - - //uint64_t fs; - //uint64_t gs; - - }; diff --git a/palacios/include/palacios/vmm_shadow_paging.h b/palacios/include/palacios/vmm_shadow_paging.h index 247c471..0078e0b 100644 --- a/palacios/include/palacios/vmm_shadow_paging.h +++ b/palacios/include/palacios/vmm_shadow_paging.h @@ -47,9 +47,6 @@ struct shadow_page_state { struct guest_info; - - - int v3_init_shadow_page_state(struct guest_info * info); diff --git a/palacios/src/palacios/svm.c b/palacios/src/palacios/svm.c index 36d58dd..2e5855f 100644 --- a/palacios/src/palacios/svm.c +++ b/palacios/src/palacios/svm.c @@ -209,8 +209,6 @@ static void Init_VMCB_BIOS(vmcb_t * vmcb, struct guest_info *vm_info) { ctrl_area->cr_reads.cr3 = 1; ctrl_area->cr_writes.cr3 = 1; - vm_info->guest_efer.value = 0x0LL; - v3_hook_msr(vm_info, EFER_MSR, &v3_handle_efer_read, &v3_handle_efer_write,