Re: [PATCH v8 2/8] KVM: x86: Deflect unknown MSR accesses to user space

2020-09-28 Thread Aaron Lewis
> > This patch adds a generic interface to handle WRMSR and RDMSR from user > space. With this, any future MSR that is part of the latter categories can > be handled in user space. > > Furthermore, it allows us to replace the existing "ignore_msrs" logic with > something that applies per-VM rather

[PATCH v8 2/8] KVM: x86: Deflect unknown MSR accesses to user space

2020-09-25 Thread Alexander Graf
MSRs are weird. Some of them are normal control registers, such as EFER. Some however are registers that really are model specific, not very interesting to virtualization workloads, and not performance critical. Others again are really just windows into package configuration. Out of these MSRs,