Fix boot_vm_by_core when vm=0