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.


Cleanup of linkage issues for non-Linux hosts
[palacios.git] / linux_module / iface-host-hypercall.c
index b998b90..4ed2f63 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <linux/elf.h>
 #include <linux/uaccess.h>
-#include <linux/vmalloc.h>
 
 #include <linux/module.h>
 
@@ -135,6 +134,8 @@ static int guest_init_host_hypercall (struct v3_guest * guest, void ** vm_data)
 
 
 static int guest_deinit_host_hypercall (struct v3_guest * guest, void * vm_data) {
+    remove_guest_ctrl(guest, V3_VM_HYPERCALL_ADD);
+    remove_guest_ctrl(guest, V3_VM_HYPERCALL_REMOVE);
     return 0;
 }