I added more things to ease migration handling in SMM because: 1) qemu checks LBREn before transfer Arch LBR MSRs.
2) Perf event is created when LBREn is being set. Two things are not certain: 1) IA32_LBR_CTL doesn't have corresponding slot in SMRAM,not sure if we need to rely on it to transfer the MSR.
I chose 0x7f10 as the offset(CET takes 0x7f08) for storage, need you double check if it's free or used.
Hi, Paolo,
I found there're some rebase conflicts between this series and your kvm queue branch due to PEBS patches, I can re-post a new version based on
your queue branch if necessary.
Waiting for your comments on this patch...