Skip to content

Commit 90f3ce4

Browse files
jsun26intelacrnsi
authored andcommitted
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>
1 parent 73cff9e commit 90f3ce4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

hypervisor/arch/x86/configs/vm_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bool sanitize_vm_config(void)
108108
/* Nothing to do here for a POST_LAUNCHED_VM, break directly. */
109109
break;
110110
default:
111-
/* Nothing to do for a UNDEFINED_VM, break directly. */
111+
/* Nothing to do for a unknown VM, break directly. */
112112
break;
113113
}
114114

hypervisor/include/arch/x86/vm_config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
* POST_LAUNCHED_VM is launched by ACRN devicemodel, with/without LAPIC_PT depends on usecases.
2424
*/
2525
enum acrn_vm_load_order {
26-
UNDEFINED_VM = 0,
27-
PRE_LAUNCHED_VM,
26+
PRE_LAUNCHED_VM = 1,
2827
SOS_VM,
2928
POST_LAUNCHED_VM /* Launched by Devicemodel in SOS_VM */
3029
};

0 commit comments

Comments
 (0)