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
F170926397: D29405.id92874.diff
Mon, Sep 7, 3:56 PM
Unknown Object (File)
Sun, Sep 6, 9:38 AM
Unknown Object (File)
Sun, Sep 6, 6:05 AM
Unknown Object (File)
Sun, Sep 6, 4:14 AM
Unknown Object (File)
Sat, Sep 5, 4:18 PM
Unknown Object (File)
Fri, Sep 4, 8:44 PM
Unknown Object (File)
Fri, Sep 4, 6:00 AM
Unknown Object (File)
Thu, Sep 3, 11:37 PM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38034
Build 34923: arc lint + arc unit

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
75

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.