opnsense-src/sys/x86/xen
Roger Pau Monné c1287a3bb1 x86/xen: ignore error to fetch memory map in xen_arch_init_physmem()
Some implementations of Xen don't expose the XENMEM_memory_map hypercall.
Shallow the error from XENMEM_memory_map in xen_arch_init_physmem() and just
return 0. This will fallback to using the non-arch specific mechanism for
allocating scratch space.

Reported by:	cperciva
Reviewed by:	Elliott Mitchell
Fixes:	69c47485b5 ('x86/xen: use UNUSABLE e820 regions for external mappings')
Sponsored by:	Cloud Software Group
Differential revision:	https://reviews.freebsd.org/D46205
2024-08-02 20:12:55 -07:00
..
hvm.c x86/xen: ignore error to fetch memory map in xen_arch_init_physmem() 2024-08-02 20:12:55 -07:00
pv.c xen/pvh: fix initialization of environment 2024-08-02 12:41:52 +02:00
xen_apic.c x86/xen: replace xen_cpuid_base with hv_base 2024-02-22 11:08:05 +01:00
xen_arch_intr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00