diff --git a/hypervisor/bsp/sbl/vm_description.c b/hypervisor/bsp/sbl/vm_description.c index 20ec29758..5ea03f671 100644 --- a/hypervisor/bsp/sbl/vm_description.c +++ b/hypervisor/bsp/sbl/vm_description.c @@ -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, }; diff --git a/hypervisor/bsp/uefi/vm_description.c b/hypervisor/bsp/uefi/vm_description.c index 20ec29758..5ea03f671 100644 --- a/hypervisor/bsp/uefi/vm_description.c +++ b/hypervisor/bsp/uefi/vm_description.c @@ -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, }; diff --git a/hypervisor/include/arch/x86/guest/vm.h b/hypervisor/include/arch/x86/guest/vm.h index bca640039..bb5d88b7f 100644 --- a/hypervisor/include/arch/x86/guest/vm.h +++ b/hypervisor/include/arch/x86/guest/vm.h @@ -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; };