RE: [PATCH v5 10/12] KVM/x86/lbr: lazy save the guest lbr stack

2019-02-15 Thread Wang, Wei W
om; > arei.gong...@huawei.com; jmatt...@google.com > Subject: Re: [PATCH v5 10/12] KVM/x86/lbr: lazy save the guest lbr stack > > On 2019/2/14 17:06, Wei Wang wrote: > > When the vCPU is scheduled in: > > - if the lbr feature was used in the last vCPU time slice, set the lbr &g

Re: [PATCH v5 10/12] KVM/x86/lbr: lazy save the guest lbr stack

2019-02-14 Thread Like Xu
On 2019/2/14 17:06, Wei Wang wrote: When the vCPU is scheduled in: - if the lbr feature was used in the last vCPU time slice, set the lbr stack to be interceptible, so that the host can capture whether the lbr feature will be used in this time slice; - if the lbr feature wasn't used in the