HV: rename structure acrn_vm_type

Rename structure acrn_vm_type to acrn_vm_load_order as it is used to
indicate the load order instead of the VM type.

Tracked-On: #2291
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Conghui Chen
2019-05-01 09:41:05 +08:00
committed by Eddie Dong
parent be2fe2a44d
commit e6670b32f4
9 changed files with 23 additions and 23 deletions

View File

@@ -22,7 +22,7 @@
* SOS_VM is launched by ACRN hypervisor, without LAPIC_PT;
* POST_LAUNCHED_VM is launched by ACRN devicemodel, with/without LAPIC_PT depends on usecases.
*/
enum acrn_vm_type {
enum acrn_vm_load_order {
UNDEFINED_VM = 0,
PRE_LAUNCHED_VM,
SOS_VM,
@@ -71,7 +71,7 @@ struct acrn_vm_pci_ptdev_config {
} __aligned(8);
struct acrn_vm_config {
enum acrn_vm_type type; /* specify the type of VM */
enum acrn_vm_load_order load_order; /* specify the load order of VM */
char name[MAX_VM_OS_NAME_LEN]; /* VM name identifier, useful for debug. */
const uint8_t uuid[16]; /* UUID of the VM */
uint64_t pcpu_bitmap; /* from pcpu bitmap, we could know VM core number */