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.


Change of hypercall semantics - rax no longer contains error code for palacios
Kyle Hale [Fri, 13 Apr 2012 22:14:27 +0000 (17:14 -0500)]
palacios/src/palacios/vmm_hypercall.c

index b614896..6cb51e0 100644 (file)
@@ -181,10 +181,9 @@ int v3_handle_hypercall(struct guest_info * info) {
        return -1;
     }
 
-    if (hcall->hcall_fn(info, hypercall_id, hcall->priv_data) == 0) {
-       info->vm_regs.rax = 0;
-    } else {
-       info->vm_regs.rax = -1;
+    if (hcall->hcall_fn(info, hypercall_id, hcall->priv_data) != 0) {
+       PrintError("Error handling hypercall\n");
+       return -1;
     }
 
     return 0;