x86/perfc: fold HVM's VM-exit counter arrays
authorJan Beulich <jbeulich@suse.com>
Thu, 24 Feb 2022 10:19:06 +0000 (11:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 24 Feb 2022 10:19:06 +0000 (11:19 +0100)
commit81c416dca231d2292f52690adc64921e233bacd9
treee0bf120309b9b697030aa470cc019499ae48c998
parentfdeaceee7149d173327003156ac1c05863f37fc5
x86/perfc: fold HVM's VM-exit counter arrays

Only one of them can be in use at a time, so make the whole set union-
like. While doing the rename in SVM code, combine the two perf_incra(),
generalizing the range upwards of VMEXIT_NPF.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/include/asm/perfc_defn.h