mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
HV: use term of UUID
The code mixed the usage on term of UUID and GUID, now use UUID to make code more consistent, also will use lowercase (i.e. uuid) in variable name definition. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
4557033a3a
commit
6071234337
@@ -137,7 +137,7 @@ struct acrn_vm {
|
||||
io_read_fn_t default_io_read;
|
||||
io_write_fn_t default_io_write;
|
||||
|
||||
uint8_t GUID[16];
|
||||
uint8_t uuid[16];
|
||||
struct secure_world_control sworld_control;
|
||||
|
||||
/* Secure World's snapshot
|
||||
|
@@ -45,7 +45,7 @@ struct acrn_vm_pci_ptdev_config {
|
||||
struct acrn_vm_config {
|
||||
enum acrn_vm_type type; /* specify the type of VM */
|
||||
char name[MAX_VM_OS_NAME_LEN]; /* VM name identifier, useful for debug. */
|
||||
uint8_t GUID[16]; /* GUID of the VM */
|
||||
uint8_t uuid[16]; /* UUID of the VM */
|
||||
uint64_t pcpu_bitmap; /* from pcpu bitmap, we could know VM core number */
|
||||
uint64_t guest_flags; /* VM flags that we want to configure for guest
|
||||
* Now we have two flags:
|
||||
|
@@ -111,7 +111,7 @@ struct profiling_vcpu_pcpu_map {
|
||||
|
||||
struct profiling_vm_info {
|
||||
uint16_t vm_id_num;
|
||||
uint8_t guid[16];
|
||||
uint8_t uuid[16];
|
||||
char vm_name[16];
|
||||
uint16_t num_vcpus;
|
||||
struct profiling_vcpu_pcpu_map cpu_map[CONFIG_MAX_VCPUS_PER_VM];
|
||||
|
@@ -351,8 +351,8 @@ struct acrn_create_vm {
|
||||
/** Reserved */
|
||||
uint16_t reserved1;
|
||||
|
||||
/** the GUID of this VM */
|
||||
uint8_t GUID[16];
|
||||
/** the UUID of this VM */
|
||||
uint8_t uuid[16];
|
||||
|
||||
/* VM flag bits from Guest OS, now used
|
||||
* GUEST_FLAG_SECURE_WORLD_ENABLED (1UL<<0)
|
||||
|
Reference in New Issue
Block a user