acrn-hypervisor/hypervisor/arch/x86/configs
Shuo A Liu 1c526e6d16 hv: use vcpu_affinity[] in vm_config to support vcpu assignment
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>
2019-09-24 11:58:45 +08:00
..
apl-mrb hv: move MAX_PCPU_NUM from Kconfig to header file 2019-09-24 11:58:45 +08:00
apl-up2 hv: move MAX_PCPU_NUM from Kconfig to header file 2019-09-24 11:58:45 +08:00
dnv-cb2 hv: move MAX_PCPU_NUM from Kconfig to header file 2019-09-24 11:58:45 +08:00
generic hv: move MAX_PCPU_NUM from Kconfig to header file 2019-09-24 11:58:45 +08:00
icl-rvp ACRN/HV: Add one new board configuration for ACRN-hypervisor 2019-06-10 11:23:18 +08:00
nuc6cayh hv: move MAX_PCPU_NUM from Kconfig to header file 2019-09-24 11:58:45 +08:00
nuc7i7dnb hv: move MAX_PCPU_NUM from Kconfig to header file 2019-09-24 11:58:45 +08:00
apl-mrb.config HV: move vCOM setting from Kconfig to board configs 2019-08-22 13:12:54 +08:00
apl-nuc HV: remove default folder in configs 2019-02-26 17:04:49 +08:00
apl-nuc.config
apl-up2.config HV: move vCOM setting from Kconfig to board configs 2019-08-22 13:12:54 +08:00
dnv-cb2.config HV: enable Kconfig of ACPI_PARSE_ENABLED 2019-05-14 11:53:02 +08:00
generic.config HV: add generic board config 2019-04-29 15:25:25 +08:00
icl-rvp.config ACRN/HV: Add one new board configuration for ACRN-hypervisor 2019-06-10 11:23:18 +08:00
kbl-nuc-i7 HV: rename nuc7i7bnh to nuc7i7dnb 2019-07-22 16:21:12 +08:00
kbl-nuc-i7.config HV: rename nuc7i7bnh to nuc7i7dnb 2019-07-22 16:21:12 +08:00
nuc6cayh.config HV: add memmap param for hvlog in sos cmdline 2019-09-17 09:12:03 +08:00
nuc7i7dnb.config HV: rename nuc7i7bnh to nuc7i7dnb 2019-07-22 16:21:12 +08:00
pci_dev.c hv: vpci: remove pBDF configure for emulated device 2019-08-12 10:00:44 +08:00
platform_acpi_info.h hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00
vacpi.c hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
vm_config.c hv: use vcpu_affinity[] in vm_config to support vcpu assignment 2019-09-24 11:58:45 +08:00