Page MenuHomeFreeBSD

bhyve/aarch64: Handle unknown exceptions
ClosedPublic

Authored by andrew on Sep 2 2024, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 5:45 AM
Unknown Object (File)
Oct 28 2025, 1:29 AM
Unknown Object (File)
Oct 27 2025, 11:41 PM
Unknown Object (File)
Oct 20 2025, 2:37 AM
Unknown Object (File)
Oct 19 2025, 12:14 PM
Unknown Object (File)
Oct 19 2025, 12:14 PM
Unknown Object (File)
Oct 18 2025, 10:04 PM
Unknown Object (File)
Sep 14 2025, 9:24 PM

Details

Summary

When an exception class is unhandled by the kernel we handle it in
userspace by exiting the process. Rather than exiting raise an unknown
reason exception in the guest. The guest can then handle the exception
as it wishes.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59278
Build 56165: arc lint + arc unit

Event Timeline

andrew requested review of this revision.Sep 2 2024, 4:18 PM

Are there any security implications (i.e., exceptions that are not safe to avoid handling)?

I can't think of any issues. By my reading of Linux they do the same, although handle it in the kernel.

This revision is now accepted and ready to land.Sep 30 2024, 9:01 AM
This revision was automatically updated to reflect the committed changes.