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)
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
Unknown Object (File)
Nov 17 2024, 8:32 AM
Unknown Object (File)
Nov 6 2024, 9:59 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 Not Applicable
Unit
Tests Not Applicable

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.