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.


Improve panic message if asked to free a bad page
Trammell Hudson [Wed, 22 Oct 2008 20:31:36 +0000 (15:31 -0500)]
kitten/palacios-glue/vmm_stubs.c

index bf41dd9..aa5f54a 100644 (file)
@@ -84,8 +84,14 @@ Free_VMM_Page(
 
        int rc = pmem_query(&query,&result);
 
-       if (rc)
-               panic( "BAD" );
+       if( rc )
+       {
+               panic( "Asked to free non-allocated page %p! rc=%d",
+                       page,
+                       rc
+               );
+               return;
+       }
 
        result.allocated = 0;
        pmem_update(&result);