On 26/04/2025 12:43 am, Ariadne Conill wrote: > diff --git a/xen/arch/x86/guest/hyperv/hyperv.c > b/xen/arch/x86/guest/hyperv/hyperv.c > index 6989af38f1..0305374a06 100644 > --- a/xen/arch/x86/guest/hyperv/hyperv.c > +++ b/xen/arch/x86/guest/hyperv/hyperv.c > @@ -98,7 +98,13 @@ static void __init setup_hypercall_page(void) > rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); > if ( !hypercall_msr.enable ) > { > - mfn = HV_HCALL_MFN; > + void *hcall_page = alloc_xenheap_page(); > + if ( !hcall_page ) > + panic("Hyper-V: Failed to allocate hypercall trampoline page");
\n ~Andrew