Skip to content

Commit 31aa37d

Browse files
jsun26intelacrnsi
authored andcommitted
HV: remove unused INVALID_VM_ID
The VM IDs which is high or equal then CONFIG_MAX_VM_NUM are all invalid VM IDs, the MACRO has never been referenced in code, so remove it; Tracked-On: #3214 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
1 parent 50e09c4 commit 31aa37d

File tree

1 file changed

+0
-2
lines changed
  • hypervisor/include/arch/x86/guest

1 file changed

+0
-2
lines changed

hypervisor/include/arch/x86/guest/vm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#include <e820.h>
2828
#include <vm_config.h>
2929

30-
#define INVALID_VM_ID 0xffffU
31-
3230
struct vm_hw_info {
3331
/* vcpu array of this VM */
3432
struct acrn_vcpu vcpu_array[CONFIG_MAX_VCPUS_PER_VM];

0 commit comments

Comments
 (0)