Re: [PATCH 3/5] VMX: sync VM-exit perf counters with known VM-exit reasons

2021-12-21 Thread Jan Beulich
On 17.12.2021 16:00, Andrew Cooper wrote: > On 03/12/2021 12:05, Jan Beulich wrote: >> --- a/xen/include/asm-x86/hvm/vmx/vmx.h >> +++ b/xen/include/asm-x86/hvm/vmx/vmx.h >> @@ -220,6 +220,8 @@ static inline void pi_clear_sn(struct pi >> #define EXIT_REASON_XSAVES 63 >> #define EXIT_R

Re: [PATCH 3/5] VMX: sync VM-exit perf counters with known VM-exit reasons

2021-12-17 Thread Andrew Cooper
On 03/12/2021 12:05, Jan Beulich wrote: > --- a/xen/include/asm-x86/hvm/vmx/vmx.h > +++ b/xen/include/asm-x86/hvm/vmx/vmx.h > @@ -220,6 +220,8 @@ static inline void pi_clear_sn(struct pi > #define EXIT_REASON_XSAVES 63 > #define EXIT_REASON_XRSTORS 64 > > +#define EXIT_

[PATCH 3/5] VMX: sync VM-exit perf counters with known VM-exit reasons

2021-12-03 Thread Jan Beulich
This has gone out of sync over time. Introduce a simplistic mechanism to hopefully keep things in sync going forward. Signed-off-by: Jan Beulich --- I wasn't sure about the #ifdef: Using CONFIG_PERF_COUNTERS there would seem slightly odd next to a construct which specifically abstracts away this