Page MenuHomeFreeBSD

Add a new variant of the GLA2GPA ioctl for use by the debug server.
ClosedPublic

Authored by jhb on Jan 27 2018, 5:31 PM.

Details

Summary

Unlike the existing GLA2GPA ioctl, GLA2GPA_NOFAULT does not modify
the guest. In particular, it does not inject any faults or modify
PTEs in the guest when performing an address space translation.

This is used by bhyve's debug server to read and write memory for
the remote debugger.

Test Plan
  • used by the implemenation of 'm' in the debug server

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.