Re: [PATCH v3 1/4] xen/pv: add fault recovery control to pmu msr accesses

From: Jan Beulich
Date: Wed Oct 05 2022 - 07:58:54 EST

On 05.10.2022 13:02, Juergen Gross wrote:
> Today pmu_msr_read() and pmu_msr_write() fall back to the safe variants
> of read/write MSR in case the MSR access isn't emulated via Xen. Allow
> the caller to select that faults should not be recovered from by passing
> NULL for the error pointer.
> Restructure the code to make it more readable.
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>