lkml.org 
[lkml]   [2022]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8 095/103] KVM: TDX: Handle TDX PV rdmsr/wrmsr hypercall
    On Wed, Aug 17, 2022 at 03:40:24PM -0700,
    Sagi Shahar <sagis@google.com> wrote:

    > On Sun, Aug 7, 2022 at 3:03 PM <isaku.yamahata@intel.com> wrote:
    > > +static int tdx_emulate_wrmsr(struct kvm_vcpu *vcpu)
    > > +{
    > > + u32 index = tdvmcall_a0_read(vcpu);
    > > + u64 data = tdvmcall_a1_read(vcpu);
    > > +
    > > + if (!kvm_msr_allowed(vcpu, index, KVM_MSR_FILTER_READ) ||
    > ^
    > This should be KVM_MSR_FILTER_WRITE

    Oops. Thanks. I'll fix it.
    --
    Isaku Yamahata <isaku.yamahata@gmail.com>

    \
     
     \ /
      Last update: 2022-08-26 08:47    [W:2.129 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site