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:
Kaige Fu
2018-06-29 15:46:53 +08:00
committed by lijinxia
parent 31cdf8c7e8
commit 7a66c317b5
3 changed files with 1 additions and 4 deletions

View File

@@ -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 */
};