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:
Min Lim
2019-02-01 12:52:11 -08:00
committed by wenlingz
parent 135ed80f51
commit ff48cb0778
2 changed files with 14 additions and 15 deletions

View File

@@ -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);