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.


added error checking to guest launch to handle core mapping bugs
[palacios.git] / linux_module / vm.c
index 9869334..a1af564 100644 (file)
@@ -130,7 +130,7 @@ static long v3_vm_ioctl(struct file * filp,
        case V3_VM_LAUNCH: {
            printk("palacios: launching vm\n");
 
-           if (v3_start_vm(guest->v3_ctx, 0xfffffffe) < 0) { 
+           if (v3_start_vm(guest->v3_ctx, (0x1 << num_online_cpus()) - 1) < 0) { 
                printk("palacios: launch of vm failed\n");
                return -1;
            }