mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 13:37:10 +00:00
dm: refine comment on 'struct acrn_vm_config'
Refine comment on usage of this structure. Tracked-On: #5649 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
parent
81f77b9437
commit
8622d1b644
@ -299,9 +299,11 @@ enum acrn_vm_load_order {
|
|||||||
MAX_LOAD_ORDER
|
MAX_LOAD_ORDER
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_VM_OS_NAME_LEN 32U
|
/**
|
||||||
|
* @brief data structure to parse configuration data of VM.
|
||||||
|
*/
|
||||||
struct acrn_vm_config {
|
struct acrn_vm_config {
|
||||||
|
#define MAX_VM_OS_NAME_LEN 32U
|
||||||
enum acrn_vm_load_order load_order;
|
enum acrn_vm_load_order load_order;
|
||||||
char name[MAX_VM_OS_NAME_LEN];
|
char name[MAX_VM_OS_NAME_LEN];
|
||||||
const uint8_t uuid[16];
|
const uint8_t uuid[16];
|
||||||
@ -310,8 +312,9 @@ struct acrn_vm_config {
|
|||||||
uint64_t cpu_affinity;
|
uint64_t cpu_affinity;
|
||||||
uint64_t guest_flags;
|
uint64_t guest_flags;
|
||||||
/*
|
/*
|
||||||
* The following are hv-specific members and are thus opaque.
|
* Ignore other members that are hypervisor specific, actual size
|
||||||
* vm_config_entry_size determines the real size of this structure.
|
* of current structure can be parsed by 'vm_config_entry_size' of
|
||||||
|
* 'struct platform_info'.
|
||||||
*/
|
*/
|
||||||
} __aligned(8);
|
} __aligned(8);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user