Re: [PATCH 3/3] x86: Expose Automatic IBRS to guests

2023-05-26 Thread Andrew Cooper
On 26/05/2023 4:00 pm, Alejandro Vallejo wrote: > Expose AutoIBRS to HVM guests, because they can just use it. Make sure > writes to EFER:AIBRSE are gated on the feature being exposed. Also hide > EFER:AIBRSE from PV guests as they have no say in the matter. > > Signed-off-by: Alejandro Vallejo I

[PATCH 3/3] x86: Expose Automatic IBRS to guests

2023-05-26 Thread Alejandro Vallejo
Expose AutoIBRS to HVM guests, because they can just use it. Make sure writes to EFER:AIBRSE are gated on the feature being exposed. Also hide EFER:AIBRSE from PV guests as they have no say in the matter. Signed-off-by: Alejandro Vallejo --- xen/arch/x86/hvm/hvm.c | 3 +++ x