Re: [PATCH] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-02-12 Thread Yang Weijiang
On Thu, Feb 11, 2021 at 09:18:03AM -0800, Sean Christopherson wrote: > On Tue, Feb 09, 2021, Yang Weijiang wrote: > > When L2 guest status has been changed by L1 QEMU/KVM, sync the change back > > to L2 guest before the later's next vm-entry. On the other hand, if it's > > changed due to L2 guest,

Re: [PATCH] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-02-11 Thread Sean Christopherson
On Tue, Feb 09, 2021, Yang Weijiang wrote: > When L2 guest status has been changed by L1 QEMU/KVM, sync the change back > to L2 guest before the later's next vm-entry. On the other hand, if it's > changed due to L2 guest, sync it back so as to let L1 guest see the change. > > Signed-off-by: Yang W

Re: [PATCH] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-02-09 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on kvm/linux-next] [also build test ERROR on v5.11-rc6 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in h

[PATCH] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-02-09 Thread Yang Weijiang
When L2 guest status has been changed by L1 QEMU/KVM, sync the change back to L2 guest before the later's next vm-entry. On the other hand, if it's changed due to L2 guest, sync it back so as to let L1 guest see the change. Signed-off-by: Yang Weijiang --- arch/x86/kvm/vmx/nested.c | 12