On Fri, Sep 27, 2019 at 9:06 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > On 27/09/19 17:58, Xiaoyao Li wrote: > > Indeed, "KVM_GET_MSR_INDEX_LIST" returns the guest msrs that KVM supports and > > they are free from different guest configuration since they're initialized when > > kvm module is loaded. > > > > Even though some MSRs are not exposed to guest by clear their related cpuid > > bits, they are still saved/restored by QEMU in the same fashion. > > > > I wonder should we change "KVM_GET_MSR_INDEX_LIST" per VM? > > We can add a per-VM version too, yes. Should the system-wide version continue to list *some* supported MSRs and *some* unsupported MSRs, with no rhyme or reason? Or should we codify what that list contains?