X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=linux_module%2Fvm.c;h=a1af56498537a3de5543c665b3bf5d0837502537;hp=98693340d7454e374ebadc1d033399c7f2936cb5;hb=f82ccce5ce7629dce6f1a6feee8b47fa13a6756d;hpb=0cfc0855d8a1fc9c6982ec2672c2bc4683eb4e2a diff --git a/linux_module/vm.c b/linux_module/vm.c index 9869334..a1af564 100644 --- a/linux_module/vm.c +++ b/linux_module/vm.c @@ -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; }