HV: Kconfig: remove MAX_VCPUS_PER_VM in Kconfig

In current architecutre, the maximum vCPUs number per VM could not
exceed the pCPUs number. Given the MAX_PCPU_NUM macro is provided
in board configurations, so remove the MAX_VCPUS_PER_VM from Kconfig
and add a macro of MAX_VCPUS_PER_VM to reference MAX_PCPU_NUM directly.

Tracked-On: #4230

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2019-12-09 14:08:53 +08:00
committed by wenlingz
parent 0ba8434838
commit a44c1c900c
10 changed files with 15 additions and 21 deletions

View File

@@ -76,14 +76,6 @@ config RELEASE
console and hypervisor shell are available only in non-release
(i.e. debug) builds. Assertions are not effective in release builds.
config MAX_VCPUS_PER_VM
int "Maximum number of VCPUs per VM"
range 1 48
default 8
help
The maximum number of virtual CPUs the hypervisor can support in a
single VM.
config MAX_EMULATED_MMIO_REGIONS
int "Maximum number of emulated MMIO regions"
range 0 128