Page MenuHomeFreeBSD

bhyve/aarch64: Handle unknown exceptions
ClosedPublic

Authored by andrew on Sep 2 2024, 4:18 PM.
Tags
None
Referenced Files
F163255983: D46511.diff
Tue, Jul 21, 11:49 AM
Unknown Object (File)
Sat, Jul 18, 6:22 AM
Unknown Object (File)
Tue, Jul 14, 9:33 PM
Unknown Object (File)
Sun, Jul 5, 5:15 AM
Unknown Object (File)
Sun, Jul 5, 5:07 AM
Unknown Object (File)
Sat, Jul 4, 4:35 AM
Unknown Object (File)
Fri, Jul 3, 6:04 AM
Unknown Object (File)
Mon, Jun 22, 6:00 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.