On Tue, 23 Jul 2024 03:19:59 -0400, Shaoqin Huang wrote:
This is another try to allow userspace to change ID_AA64PFR1_EL1, and we want to give userspace the ability to control the visible feature set for a VM, which could be used by userspace in such a way to transparently migrate VMs.
The patch series have four part:
The first patch disable those fields which KVM doesn't know how to handle, so KVM will only expose value 0 of those fields to the guest.
[...]
Applied to next, thanks!
[1/4] KVM: arm64: Disable fields that KVM doesn't know how to handle in ID_AA64PFR1_EL1 commit: ffe68b2d19a5a84440fea99a732cfc3b157559eb [2/4] KVM: arm64: Use kvm_has_feat() to check if FEAT_SSBS is advertised to the guest commit: e8d164974cfa46fe5ec87869c8a7113641f322d5 [3/4] KVM: arm64: Allow userspace to change ID_AA64PFR1_EL1 commit: 78c4446b5f957fb14737582e503b1b25f66edc45 [4/4] KVM: selftests: aarch64: Add writable test for ID_AA64PFR1_EL1 commit: dc9b5d7e0bd40e68a94013766b27be3dda10c006
Cheers,
M.