mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-01 11:55:25 +00:00
Add this vcpu_affinity[] for each VM to indicate the assignment policy. With it, pcpu_bitmap is not needed, so remove it from vm_config. Instead, vcpu_affinity is a must for each VM. This patch also add some sanitize check of vcpu_affinity[]. Here are some rules: 1) only one bit can be set for each vcpu_affinity of vcpu. 2) two vcpus in same VM cannot be set with same vcpu_affinity. 3) vcpu_affinity cannot be set to the pcpu which used by pre-launched VM. v4: config SDC with CONFIG_MAX_KATA_VM_NUM v5: config SDC with CONFIG_MAX_PCPU_NUM Tracked-On: #3663 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Yu Wang <yu1.wang@intel.com> Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
||
---|---|---|
.. | ||
apl-mrb | ||
apl-up2 | ||
dnv-cb2 | ||
generic | ||
icl-rvp | ||
nuc6cayh | ||
nuc7i7dnb | ||
apl-mrb.config | ||
apl-nuc | ||
apl-nuc.config | ||
apl-up2.config | ||
dnv-cb2.config | ||
generic.config | ||
icl-rvp.config | ||
kbl-nuc-i7 | ||
kbl-nuc-i7.config | ||
nuc6cayh.config | ||
nuc7i7dnb.config | ||
pci_dev.c | ||
platform_acpi_info.h | ||
vacpi.c | ||
vm_config.c |