Re: [PATCH v6 0/7] Allow user space to restrict and augment MSR emulation

2020-09-02 Thread Alexander Graf
On 02.09.20 00:32, Aaron Lewis wrote: On Tue, Sep 1, 2020 at 1:15 PM Alexander Graf wrote: While tying to add support for the MSR_CORE_THREAD_COUNT MSR in KVM, I realized that we were still in a world where user space has no control over what happens with MSR emulation in KVM. That is bad

[PATCH v6 0/7] Allow user space to restrict and augment MSR emulation

2020-09-02 Thread Alexander Graf
While tying to add support for the MSR_CORE_THREAD_COUNT MSR in KVM, I realized that we were still in a world where user space has no control over what happens with MSR emulation in KVM. That is bad for multiple reasons. In my case, I wanted to emulate the MSR in user space, because it's a CPU

Re: [PATCH v6 0/7] Allow user space to restrict and augment MSR emulation

2020-09-01 Thread Aaron Lewis
On Tue, Sep 1, 2020 at 1:15 PM Alexander Graf wrote: > > While tying to add support for the MSR_CORE_THREAD_COUNT MSR in KVM, > I realized that we were still in a world where user space has no control > over what happens with MSR emulation in KVM. > > That is bad for multiple reasons. In my case,

[PATCH v6 0/7] Allow user space to restrict and augment MSR emulation

2020-09-01 Thread Alexander Graf
While tying to add support for the MSR_CORE_THREAD_COUNT MSR in KVM, I realized that we were still in a world where user space has no control over what happens with MSR emulation in KVM. That is bad for multiple reasons. In my case, I wanted to emulate the MSR in user space, because it's a CPU