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.


bring GEARS up to date with interface changes
Kyle Hale [Tue, 8 Oct 2013 17:54:17 +0000 (12:54 -0500)]
palacios/src/gears/ext_code_inject.c
palacios/src/gears/ext_env_inject.c
palacios/src/gears/ext_execve_hook.c
palacios/src/gears/ext_sw_intr.c
palacios/src/gears/ext_syscall_hijack.c

index 87e5325..24f2d5e 100644 (file)
@@ -727,8 +727,8 @@ int v3_remove_code_inject (struct v3_vm_info * vm, struct v3_code_inject_info *
 
 static struct v3_extension_impl code_inject_impl = {
        .name = "code_inject",
-       .init = init_code_inject,
-       .deinit = deinit_code_inject,
+       .vm_init = init_code_inject,
+       .vm_deinit = deinit_code_inject,
        .core_init = NULL,
        .core_deinit = NULL,
        .on_entry = NULL,
index 4b7590c..96a935c 100644 (file)
@@ -109,8 +109,8 @@ int v3_remove_env_inject (struct v3_vm_info * vm, struct v3_env_inject_info * in
 
 static struct v3_extension_impl env_inject_impl = {
        .name = "env_inject",
-       .init = init_env_inject,
-       .deinit = deinit_env_inject,
+       .vm_init = init_env_inject,
+       .vm_deinit = deinit_env_inject,
        .core_init = NULL,
        .core_deinit = NULL,
        .on_entry = NULL,
index 17142eb..501b992 100644 (file)
@@ -143,8 +143,8 @@ int v3_unhook_executable (struct v3_vm_info * vm, const uchar_t * binfile) {
 
 static struct v3_extension_impl execve_impl = {
        .name = "execve_intercept",
-       .init = init_exec_hooks,
-       .deinit = NULL,
+       .vm_init = init_exec_hooks,
+       .vm_deinit = NULL,
        .core_init = init_exec_hooks_core,
        .core_deinit = deinit_exec_hooks_core,
        .on_entry = NULL,
index 03034dc..54992a8 100644 (file)
@@ -114,8 +114,8 @@ static inline struct v3_swintr_hook * get_swintr_hook (struct guest_info * core,
 
 static struct v3_extension_impl swintr_impl = {
     .name = "swintr_intercept",
-    .init = init_swintr_intercept,
-    .deinit = deinit_swintr_intercept,
+    .vm_init = init_swintr_intercept,
+    .vm_deinit = deinit_swintr_intercept,
     .core_init = init_swintr_intercept_core,
     .core_deinit = NULL,
     .on_entry = NULL,
index a531176..a910414 100644 (file)
@@ -338,8 +338,8 @@ static int deinit_syscall_hijack (struct v3_vm_info * vm, void * priv_data) {
 
 static struct v3_extension_impl syscall_impl = {
     .name = "syscall_intercept",
-    .init = init_syscall_hijack,
-    .deinit = deinit_syscall_hijack,
+    .vm_init = init_syscall_hijack,
+    .vm_deinit = deinit_syscall_hijack,
     .core_init = init_syscall_hijack_core,
     .core_deinit = NULL,
     .on_entry = NULL,