Thursday, 7 September 2023

Only one virtual CPU is allowed in this system

https://www.truenas.com/community/threads/only-one-virtual-cpu-is-allowed-in-this-system.102957 in /usr/lib/python3/dist-packages/middlewared/plugins/vm/vms.py i outcommented Lines 227-234. # elif flags['intel_vmx']: # if vcpus > 1 and flags['unrestricted_guest'] is False: # verrors.add(f'{schema_name}.vcpus', 'Only one Virtual CPU is allowed in this system.') # elif flags['amd_rvi']: # if vcpus > 1 and flags['amd_asids'] is False: # verrors.add( # f'{schema_name}.vcpus', 'Only one virtual CPU is allowed in this system.' # )

1 comment:

  1. It is just old or wrong check.
    in /usr/lib/python3/dist-packages/middlewared/plugins/vm/vms.py
    i outcommented Lines 227-234.

    ReplyDelete