On 24.04.2023 10:20, Xenia Ragiadakou wrote: > This patch series aims to make the msr intercept handling, performed in > vpmu code, virtualization technology agnostic. > It creates a common interface for setting/clearing the msr intercepts and > then add hooks to the corresponding hvm_funcs table to be able to call the > svm/vmx specific handlers through a generic hvm wrapper function. > > Version 2 addresses the comments made on version 1 to ease further review. > > Still there is a pending question made by Jan, whether there could be other, > than the vpmu one, use cases that would require msr intercept handling to be > performed outside of virtualization techonology-specific code, and whether > this abstraction is actually usefull to have.
Just for reference: The code changes look okay to me now. They could get my ack, provided we really want to go this route (which I continue to be unconvinced of). Jan