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:
Jason Chen CJ 2018-05-30 19:43:53 +08:00 committed by lijinxia
parent 0cf5142895
commit 987c7b7511
3 changed files with 0 additions and 14 deletions

View File

@ -37,9 +37,6 @@
int VM0_CPUS[VM0_NUM_CPUS] = {0};
struct vm_description vm0_desc = {
.vm_attr_name = "vm_0",
.vm_hw_num_cores = VM0_NUM_CPUS,
.vm_hw_logical_core_ids = &VM0_CPUS[0],
.vm_state_info_privilege = VM_PRIVILEGE_LEVEL_HIGH,
.vm_created = false,
};

View File

@ -37,9 +37,6 @@
int VM0_CPUS[VM0_NUM_CPUS] = {0};
struct vm_description vm0_desc = {
.vm_attr_name = "vm_0",
.vm_hw_num_cores = VM0_NUM_CPUS,
.vm_hw_logical_core_ids = &VM0_CPUS[0],
.vm_state_info_privilege = VM_PRIVILEGE_LEVEL_HIGH,
.vm_created = false,
};

View File

@ -183,20 +183,12 @@ struct vm {
};
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
* will be the VM's BSP
*/
int *vm_hw_logical_core_ids;
unsigned char GUID[16]; /* GUID of the vm will be created */
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. */
bool sworld_enabled;
};