[PATCH v4 02/28] arm64: KVM: Hide unsupported AArch64 CPU features from guests

2017-10-27 Thread Dave Martin
Currently, a guest kernel sees the true CPU feature registers (ID_*_EL1) when it reads them using MRS instructions. This means that the guest may observe features that are present in the hardware but the host doesn't understand or doesn't provide support for. A guest may legimitately try to use s

Re: [PATCH v4 02/28] arm64: KVM: Hide unsupported AArch64 CPU features from guests

2017-10-31 Thread Alex Bennée
Dave Martin writes: > Currently, a guest kernel sees the true CPU feature registers > (ID_*_EL1) when it reads them using MRS instructions. This means > that the guest may observe features that are present in the > hardware but the host doesn't understand or doesn't provide support > for. A gu