HV Cx: add hypercall function to retrieve host cx

The patch add function in vhm hypercall to retrieve physical cx data
to VHM/DM.

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-18 01:00:15 +08:00
committed by Jack Ren
parent 1c3b7a629a
commit ebf184f038
3 changed files with 41 additions and 2 deletions

View File

@@ -33,5 +33,6 @@
void vm_setup_cpu_state(struct vm *vm);
int validate_pstate(struct vm *vm, uint64_t perf_ctl);
struct cpu_cx_data* get_target_cx(struct vm *vm, uint8_t cn);
#endif /* PM_H */