mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-27 15:56:54 +00:00
remove unused parameters in vm_description
vm_attr_name, vm_state_info_privilege & vm_created are not used Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
0cf5142895
commit
987c7b7511
@ -37,9 +37,6 @@
|
|||||||
int VM0_CPUS[VM0_NUM_CPUS] = {0};
|
int VM0_CPUS[VM0_NUM_CPUS] = {0};
|
||||||
|
|
||||||
struct vm_description vm0_desc = {
|
struct vm_description vm0_desc = {
|
||||||
.vm_attr_name = "vm_0",
|
|
||||||
.vm_hw_num_cores = VM0_NUM_CPUS,
|
.vm_hw_num_cores = VM0_NUM_CPUS,
|
||||||
.vm_hw_logical_core_ids = &VM0_CPUS[0],
|
.vm_hw_logical_core_ids = &VM0_CPUS[0],
|
||||||
.vm_state_info_privilege = VM_PRIVILEGE_LEVEL_HIGH,
|
|
||||||
.vm_created = false,
|
|
||||||
};
|
};
|
||||||
|
@ -37,9 +37,6 @@
|
|||||||
int VM0_CPUS[VM0_NUM_CPUS] = {0};
|
int VM0_CPUS[VM0_NUM_CPUS] = {0};
|
||||||
|
|
||||||
struct vm_description vm0_desc = {
|
struct vm_description vm0_desc = {
|
||||||
.vm_attr_name = "vm_0",
|
|
||||||
.vm_hw_num_cores = VM0_NUM_CPUS,
|
.vm_hw_num_cores = VM0_NUM_CPUS,
|
||||||
.vm_hw_logical_core_ids = &VM0_CPUS[0],
|
.vm_hw_logical_core_ids = &VM0_CPUS[0],
|
||||||
.vm_state_info_privilege = VM_PRIVILEGE_LEVEL_HIGH,
|
|
||||||
.vm_created = false,
|
|
||||||
};
|
};
|
||||||
|
@ -183,20 +183,12 @@ struct vm {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct vm_description {
|
struct vm_description {
|
||||||
/* Virtual machine identifier, assigned by the system */
|
|
||||||
char *vm_attr_name;
|
|
||||||
/* The logical CPU IDs associated with this VM - The first CPU listed
|
/* The logical CPU IDs associated with this VM - The first CPU listed
|
||||||
* will be the VM's BSP
|
* will be the VM's BSP
|
||||||
*/
|
*/
|
||||||
int *vm_hw_logical_core_ids;
|
int *vm_hw_logical_core_ids;
|
||||||
unsigned char GUID[16]; /* GUID of the vm will be created */
|
unsigned char GUID[16]; /* GUID of the vm will be created */
|
||||||
int vm_hw_num_cores; /* Number of virtual cores */
|
int vm_hw_num_cores; /* Number of virtual cores */
|
||||||
/* Indicates to APs that the BSP has created a VM for this
|
|
||||||
* description
|
|
||||||
*/
|
|
||||||
bool vm_created;
|
|
||||||
/* Index indicating VM's privilege level */
|
|
||||||
unsigned int vm_state_info_privilege;
|
|
||||||
/* Whether secure world is enabled for current VM. */
|
/* Whether secure world is enabled for current VM. */
|
||||||
bool sworld_enabled;
|
bool sworld_enabled;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user