Page MenuHomeFreeBSD

bhyve/aarch64: Handle unknown exceptions
ClosedPublic

Authored by andrew on Sep 2 2024, 4:18 PM.
Tags
None
Referenced Files
F108230723: D46511.diff
Wed, Jan 22, 9:49 PM
Unknown Object (File)
Thu, Jan 16, 3:58 PM
Unknown Object (File)
Nov 25 2024, 4:25 PM
Unknown Object (File)
Nov 24 2024, 3:57 PM
Unknown Object (File)
Nov 22 2024, 9:11 PM
Unknown Object (File)
Nov 21 2024, 4:31 PM
Unknown Object (File)
Nov 21 2024, 6:47 AM
Unknown Object (File)
Nov 20 2024, 7:21 AM

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.