mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-17 15:44:06 +00:00
profiling: simplify the handling of vmexit loading list
The patch simplifies the way to merge the msr vmexit loading list with HV, which was already merged to master. Tracked-On: #2422 Signed-off-by: Min Lim <min.yeol.lim@intel.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <vcpu.h>
|
||||
|
||||
#define MAX_MSR_LIST_NUM 15U
|
||||
#define MAX_PROFILING_MSR_LIST_NUM (MAX_MSR_LIST_NUM)
|
||||
#define MAX_PROFILING_MSR_STORE_NUM 1
|
||||
#define MAX_HV_MSR_LIST_NUM (MSR_AREA_COUNT)
|
||||
#define MAX_GROUP_NUM 1U
|
||||
|
||||
@@ -208,8 +208,8 @@ struct sep_state {
|
||||
uint32_t frozen_delayed;
|
||||
uint32_t nofrozen_pmi;
|
||||
|
||||
struct msr_store_entry vmexit_msr_list[MAX_PROFILING_MSR_LIST_NUM + MAX_HV_MSR_LIST_NUM];
|
||||
int32_t vmexit_msr_cnt;
|
||||
struct msr_store_entry vmexit_msr_list[MAX_PROFILING_MSR_STORE_NUM + MAX_HV_MSR_LIST_NUM];
|
||||
uint32_t vmexit_msr_cnt;
|
||||
uint64_t guest_debugctl_value;
|
||||
uint64_t saved_debugctl_value;
|
||||
} __aligned(8);
|
||||
|
||||
Reference in New Issue
Block a user