Fix boot_vm_by_core when vm=0
Fix boot_vm_by_core when vm=0