HV: remove unused UNDEFINED_VM

The enum of UNDEFINED_VM has never been used, remove it;

Tracked-On: #2291

Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Victor Sun 2019-05-21 12:50:08 +08:00 committed by ACRN System Integration
parent 73cff9ef08
commit 90f3ce442d
2 changed files with 2 additions and 3 deletions

View File

@ -108,7 +108,7 @@ bool sanitize_vm_config(void)
/* Nothing to do here for a POST_LAUNCHED_VM, break directly. */ /* Nothing to do here for a POST_LAUNCHED_VM, break directly. */
break; break;
default: default:
/* Nothing to do for a UNDEFINED_VM, break directly. */ /* Nothing to do for a unknown VM, break directly. */
break; break;
} }

View File

@ -23,8 +23,7 @@
* POST_LAUNCHED_VM is launched by ACRN devicemodel, with/without LAPIC_PT depends on usecases. * POST_LAUNCHED_VM is launched by ACRN devicemodel, with/without LAPIC_PT depends on usecases.
*/ */
enum acrn_vm_load_order { enum acrn_vm_load_order {
UNDEFINED_VM = 0, PRE_LAUNCHED_VM = 1,
PRE_LAUNCHED_VM,
SOS_VM, SOS_VM,
POST_LAUNCHED_VM /* Launched by Devicemodel in SOS_VM */ POST_LAUNCHED_VM /* Launched by Devicemodel in SOS_VM */
}; };