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.


Bug fixes to v3_mem
Peter Dinda [Sun, 18 Aug 2013 20:57:27 +0000 (15:57 -0500)]
linux_usr/v3_mem.c

index 9c04776..ed08f86 100644 (file)
@@ -72,10 +72,13 @@ int main(int argc, char * argv[]) {
            case '?':
                if (optopt=='n') { 
                    printf("-n requires the numa node...\n");
+            return -1;
                } else if (optopt=='m') { 
                    printf("-m requires the minimum starting address (in MB)...\n");
+            return -1;
                } else {
                    printf("Unknown option %c\n",optopt);
+            return -1;
                }
                break;
            default:
@@ -100,7 +103,7 @@ int main(int argc, char * argv[]) {
            return -1;
        }
        mem.type=PREALLOCATED;
-       mem.node=0;
+       mem.node=node;
        mem.base_addr=base_addr;
        mem.num_pages=num_bytes/4096;
     } else {