Closed jyao1 closed 5 months ago
This sets a maximum number of APs that are used to accept memory and is intentional. If VMM injects more CPUs than MAX_WORKING_AP_COUNT, only MAX_WORKING_AP_COUNT
CPUs will be waked up to do the works they are assigned.
If there is no impact to the OS ACPI table, then it is OK.
https://github.com/confidential-containers/td-shim/blob/main/td-shim/src/bin/td-shim/td/tdx_mailbox.rs#L19
What happen if VMM injects more CPUs than MAX_WORKING_AP_COUNT ?