Re: [PATCH v2 0/4] KVM: SVM: nSVM: Implement Enlightened MSR-Bitmap for Hyper-V-on-KVM

From: Vitaly Kuznetsov
Date: Thu Feb 03 2022 - 04:51:57 EST


Paolo Bonzini <pbonzini@xxxxxxxxxx> writes:

> On 2/2/22 10:50, Vitaly Kuznetsov wrote:
...
>> KVM: nSVM: Implement Enlightened MSR-Bitmap feature
...
>
> Queued, thanks.

While writing a selftest for the feature, I've discovered an embarassing
bug: in nested_svm_vmrun_msrpm() I check bit number instead of bit
mask. It worked in testing by pure luck, it seems genuine Hyper-V sets
some other clean fields simultaneously.

Would it be possible to squash the attached patch in? Thanks!

I'll be sending out selftests shortly.

--
Vitaly