mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
HV Cx: load cx data while create VM
Each VM would have its own Cx data, for now we copy it from boot_cpu_info. Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
@@ -81,8 +81,10 @@ struct vm_sw_info {
|
||||
};
|
||||
|
||||
struct vm_pm_info {
|
||||
uint8_t px_cnt;
|
||||
uint8_t px_cnt; /* count of all Px states */
|
||||
struct cpu_px_data px_data[MAX_PSTATE];
|
||||
uint8_t cx_cnt; /* count of all Cx entries */
|
||||
struct cpu_cx_data cx_data[MAX_CSTATE];
|
||||
};
|
||||
|
||||
/* VM guest types */
|
||||
|
Reference in New Issue
Block a user