mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 20:00:13 +00:00
hv/acrn-config: changed name from cpu_affinity_bitmap to cpu_affinity
Tracked-On: #4616 Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
@@ -13,7 +13,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
CONFIG_SAFETY_VM(1),
|
||||
.name = "ACRN PRE-LAUNCHED VM0",
|
||||
.guest_flags = 0UL,
|
||||
.cpu_affinity_bitmap = VM0_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM0_CONFIG_CPU_AFFINITY,
|
||||
.memory = {
|
||||
.start_hpa = VM0_CONFIG_MEM_START_HPA,
|
||||
.size = VM0_CONFIG_MEM_SIZE,
|
||||
@@ -68,7 +68,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM2 */
|
||||
CONFIG_POST_STD_VM(1),
|
||||
.cpu_affinity_bitmap = VM2_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM2_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
|
@@ -39,7 +39,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM1 */
|
||||
CONFIG_POST_STD_VM(1),
|
||||
.cpu_affinity_bitmap = VM1_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM1_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
@@ -53,7 +53,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
{ /* VM2 */
|
||||
CONFIG_POST_RT_VM(1),
|
||||
.guest_flags = 0UL,
|
||||
.cpu_affinity_bitmap = VM2_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM2_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
@@ -69,7 +69,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM3 */
|
||||
CONFIG_POST_STD_VM(2),
|
||||
.cpu_affinity_bitmap = VM3_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM3_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
@@ -82,7 +82,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM4 */
|
||||
CONFIG_POST_STD_VM(3),
|
||||
.cpu_affinity_bitmap = VM4_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM4_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
@@ -95,7 +95,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM5 */
|
||||
CONFIG_POST_STD_VM(4),
|
||||
.cpu_affinity_bitmap = VM5_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM5_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
@@ -108,7 +108,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM6 */
|
||||
CONFIG_POST_STD_VM(5),
|
||||
.cpu_affinity_bitmap = VM6_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM6_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
@@ -121,7 +121,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM7 */
|
||||
CONFIG_KATA_VM(1),
|
||||
.cpu_affinity_bitmap = VM7_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM7_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = COM1_BASE,
|
||||
|
@@ -14,7 +14,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
{ /* VM0 */
|
||||
CONFIG_PRE_STD_VM(1),
|
||||
.name = "ACRN PRE-LAUNCHED VM0",
|
||||
.cpu_affinity_bitmap = VM0_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM0_CONFIG_CPU_AFFINITY,
|
||||
.memory = {
|
||||
.start_hpa = VM0_CONFIG_MEM_START_HPA,
|
||||
.size = VM0_CONFIG_MEM_SIZE,
|
||||
@@ -48,7 +48,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
{ /* VM1 */
|
||||
CONFIG_PRE_STD_VM(2),
|
||||
.name = "ACRN PRE-LAUNCHED VM1",
|
||||
.cpu_affinity_bitmap = VM1_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM1_CONFIG_CPU_AFFINITY,
|
||||
.guest_flags = (GUEST_FLAG_RT | GUEST_FLAG_LAPIC_PASSTHROUGH),
|
||||
.memory = {
|
||||
.start_hpa = VM1_CONFIG_MEM_START_HPA,
|
||||
|
@@ -37,7 +37,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
{ /* VM1 */
|
||||
CONFIG_POST_STD_VM(1),
|
||||
.cpu_affinity_bitmap = VM1_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM1_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = INVALID_COM_BASE,
|
||||
@@ -51,7 +51,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
#if CONFIG_MAX_KATA_VM_NUM > 0
|
||||
{ /* VM2 */
|
||||
CONFIG_KATA_VM(1),
|
||||
.cpu_affinity_bitmap = VM2_CONFIG_CPU_AFFINITY,
|
||||
.cpu_affinity = VM2_CONFIG_CPU_AFFINITY,
|
||||
.vuart[0] = {
|
||||
.type = VUART_LEGACY_PIO,
|
||||
.addr.port_base = INVALID_COM_BASE,
|
||||
|
Reference in New Issue
Block a user