> -----Original Message----- > From: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx> > Sent: Thursday, December 15, 2022 5:34 AM > To: Zhang, Chen <chen.zhang@xxxxxxxxx> > Cc: x86@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; Gao, > Chao <chao.gao@xxxxxxxxx>; Pawan Gupta > <pawan.kumar.gupta@xxxxxxxxxxxxxxx>; Paolo Bonzini > <pbonzini@xxxxxxxxxx>; Christopherson,, Sean <seanjc@xxxxxxxxxx>; H. > Peter Anvin <hpa@xxxxxxxxx>; Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>; > Borislav Petkov <bp@xxxxxxxxx>; Ingo Molnar <mingo@xxxxxxxxxx>; Thomas > Gleixner <tglx@xxxxxxxxxxxxx> > Subject: Re: [RFC PATCH 2/9] KVM: x86: Add a kvm-only leaf for RRSBA_CTRL > > On Sun, Dec 11, 2022 at 12:00:39AM +0800, Zhang Chen wrote: > > KVM needs to check if guests can see RRSBA_CTRL. If a guest is using > > retpoline and cannot see RRSBA_CTRL and the host enumerates RRSBA, KVM > > is responsible for setting RRSBA_DIS_S for the guest. > > > > This allows VM migration from parts doesn't enumerates RRSBA to those > > perhaps s/parts doesn't enumerates/parts that do not enumerate/ reads > better? OK. > > > that enumerate RRSBA. > > and here maybe s/that enumerate RRSBA/do/ ? Looks good to me. Thanks for your comments. I will fix patch2/3 in the next version. Thanks Chen > > Thanks and BR, > Ricardo