Is there a posibillity to virtualize PMU as a collection of various MSRs? I was thinking about the possibility to virtualize CPU PMU by memory-mapping various MSR registers in the address space of Guest OS. VM monitor could intercept rdmsr and wrmsr priviledged instructions probably issued by VTune driver running on Guest OS and access coresponding MSR registers.Now the question is how to pass those results to Guest OS memory-mapped virtualized MSR registers.
@MrAnderson
Is there a posibillity to virtualize PMU as a collection of various MSRs? I was thinking about the possibility to virtualize CPU PMU by memory-mapping various MSR registers in the address space of Guest OS. VM monitor could intercept rdmsr and wrmsr priviledged instructions probably issued by VTune driver running on Guest OS and access coresponding MSR registers.Now the question is how to pass those results to Guest OS memory-mapped virtualized MSR registers.
Thanks in advance.