On 19.07.2022 19:18, Tamas K Lengyel wrote:
> --- a/xen/arch/x86/include/asm/vpmu.h
> +++ b/xen/arch/x86/include/asm/vpmu.h
> @@ -40,6 +40,7 @@
> /* Arch specific operations shared by all vpmus */
> struct arch_vpmu_ops {
> int (*initialise)(struct vcpu *v);
> + int (*allocate_context)(struct vcpu *v);I think this hook would best be compiled out when !MEM_SHARING, even more so when it can be left with NULL in it. Jan
