Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Refactoring and additions to direct paging (nested and passthrough)
[palacios.git] / palacios / src / palacios / vmx.c
index aba80c7..7665fd3 100644 (file)
@@ -329,7 +329,7 @@ static int init_vmcs_bios(struct guest_info * core, struct vmx_data * vmx_state)
 
 
 
-       if (v3_init_ept(core, &hw_info) == -1) {
+       if (v3_init_nested_paging_core(core, &hw_info) == -1) {
            PrintError(core->vm_info, core, "Error initializing EPT\n");
            return -1;
        }
@@ -427,7 +427,7 @@ static int init_vmcs_bios(struct guest_info * core, struct vmx_data * vmx_state)
        ((struct cr0_32 *)&(core->shdw_pg_state.guest_cr0))->ne = 1;
        ((struct cr0_32 *)&(core->shdw_pg_state.guest_cr0))->cd = 0;
 
-       if (v3_init_ept(core, &hw_info) == -1) {
+       if (v3_init_nested_paging_core(core, &hw_info) == -1) {
            PrintError(core->vm_info, core, "Error initializing EPT\n");
            return -1;
        }