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.


Expose VM reset capability to Linux and Linux user
[palacios.git] / linux_usr / v3_free.c
index 293befa..1299269 100644 (file)
@@ -25,7 +25,7 @@ int main(int argc, char* argv[]) {
 
     printf("Freeing VM %d\n", vm_idx);
     
-    if (v3_dev_ioctl(V3_FREE_GUEST, vm_idx) < 0) {
+    if (v3_dev_ioctl(V3_FREE_GUEST, (void*)vm_idx) < 0) {
         fprintf(stderr, "Error freeing VM %d (%s)\n", vm_idx,argv[1]);
         return -1;
     }