mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
HV: Remove vm->attr.name
We define attr.name in struct vm and named as ("vm_%d", attr.id). attr.name only be used in debug tool vm_list. It does't deserve to do so in OS created flow (aka function create_vm). It's better to handle this in vm_list tool. Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@inte.com>
This commit is contained in:
@@ -16,7 +16,6 @@ enum vm_privilege_level {
|
||||
|
||||
#define MAX_VM_NAME_LEN 16
|
||||
struct vm_attr {
|
||||
char name[MAX_VM_NAME_LEN]; /* Virtual machine name string */
|
||||
int id; /* Virtual machine identifier */
|
||||
int boot_idx; /* Index indicating the boot sequence for this VM */
|
||||
};
|
||||
|
Reference in New Issue
Block a user