HV: setup px info when create vm

The vm px info would be used for guest Pstate control.
Currently it is copied from host boot cpu.

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Victor Sun
2018-04-05 19:58:40 +08:00
committed by Jack Ren
parent a28fbd15b5
commit 0e2b9fc7fa
5 changed files with 41 additions and 0 deletions

View File

@@ -38,5 +38,6 @@ struct cpu_state_table {
};
void load_cpu_state_data(void);
void vm_setup_cpu_state(struct vm *vm);
#endif /* CPU_STATE_TBL_H */