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.


make v3_launch fail on ioctl error
Kyle Hale [Wed, 27 Jun 2012 23:55:44 +0000 (18:55 -0500)]
linux_usr/v3_launch.c

index cab335f..7419a6b 100644 (file)
@@ -18,6 +18,7 @@
 int main(int argc, char* argv[]) {
     int vm_fd = 0;
     char * filename = argv[1];
+    int err;
 
     if (argc <= 1) {
        printf("usage: v3_launch <vm-device>\n");
@@ -33,7 +34,12 @@ int main(int argc, char* argv[]) {
        return -1;
     }
 
-    ioctl(vm_fd, V3_VM_LAUNCH, NULL); 
+    err = ioctl(vm_fd, V3_VM_LAUNCH, NULL); 
+    if (err < 0) {
+        printf("Error launching VM\n");
+        return -1;
+    }
+