Page MenuHomeFreeBSD

xen/netfront: introduce xen_pv_nics_disabled()
ClosedPublic

Authored by ehem_freebsd_m5p.com on Mar 23 2021, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 3 2023, 5:42 PM
Unknown Object (File)
Mar 4 2023, 9:31 PM
Unknown Object (File)
Mar 3 2023, 10:39 AM
Unknown Object (File)
Feb 15 2023, 6:37 AM
Unknown Object (File)
Jan 16 2023, 11:57 PM
Unknown Object (File)
Jan 1 2023, 3:22 AM
Unknown Object (File)
Dec 18 2022, 7:32 AM
Unknown Object (File)
Dec 18 2022, 2:36 AM

Details

Summary

ARM guest is considered as HVM in Freebsd but they only support PV nics
(no emulation available).

Submitted by: Elliott Mitchell <ehem+freebsd@m5p.com>
Original implementation: Julien Grall <julien@xen.org>, 2015-10-16 11:26:35

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 25 2021, 3:09 PM

This has the issue brought up in D29351, should sys/arm64/include/xen/xen-os.h be created in one commit and the ARM version of this function be brought in here instead of with the aarch64 jumbo commit?

sys/x86/include/xen/xen-os.h
50

After PVHv1 removal every supported guest is HVM, so we can remove the check (will do that on a different commit), and get away with the HVM vs PV difference in the code.

This revision was automatically updated to reflect the committed changes.