aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_null.c
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2020-08-18 07:08:17 +0000
committerPeter Grehan <grehan@FreeBSD.org>2020-08-18 07:08:17 +0000
commit46567b4f5e58f50f366ecd33c007734f49c82a18 (patch)
tree6905fbcbc4719be30b12acb0453e55ae8dcd9f1c /sys/dev/netmap/netmap_null.c
parent499019fdd9e2a31022afcfaa5d26e5710361c93b (diff)
Allow guest device MMIO access from bootmem memory segments.
Recent versions of UEFI have moved local APIC timer initialization into the early SEC phase which runs out of ROM, prior to self-relocating into RAM. This results in a hypervisor exit. Currently bhyve prevents instruction emulation from segments that aren't marked as "sysmem" aka guest RAM, with the vm_gpa_hold() routine failing. However, there is no reason for this restriction: the hypervisor already controls whether EPT mappings are marked as executable. Fix by dropping the redundant check of sysmem. MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D25955
Notes
svn path=/head/; revision=364339
Diffstat (limited to 'sys/dev/netmap/netmap_null.c')
0 files changed, 0 insertions, 0 deletions