mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-12 05:22:33 +00:00
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>
This commit is contained in:
parent
50e09c41b4
commit
31aa37d349
@ -27,8 +27,6 @@
|
|||||||
#include <e820.h>
|
#include <e820.h>
|
||||||
#include <vm_config.h>
|
#include <vm_config.h>
|
||||||
|
|
||||||
#define INVALID_VM_ID 0xffffU
|
|
||||||
|
|
||||||
struct vm_hw_info {
|
struct vm_hw_info {
|
||||||
/* vcpu array of this VM */
|
/* vcpu array of this VM */
|
||||||
struct acrn_vcpu vcpu_array[CONFIG_MAX_VCPUS_PER_VM];
|
struct acrn_vcpu vcpu_array[CONFIG_MAX_VCPUS_PER_VM];
|
||||||
|
Loading…
Reference in New Issue
Block a user