Re: [RFC] KVM: x86: Give host userspace control for MSR_RAPL_POWER_UNIT and MSR_PKG_POWER_STATUS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu Jan 19, 2023 at 6:57 AM CET, Xiaoyao Li wrote:

> Set aside how user space VMM emulate these 2 MSRs correctly, it can 
> request the MSR READ to exit to user space via KVM_X86_SET_MSR_FILTER. 
> So user space VMM can just enable the read filter of these 2 MSRs and 
> provide the emulation itself.

Thanks for your feedback. I totally miss out on this possibility. On
Qemu, only one msr is using it (MSR_CORE_THREAD_COUNT). I did a test
yesterday in Qemu adding a filter with kvm_filter_msr() and a callback
to setup the msr with a dummy value and it's perfectly working.






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux