Page MenuHomeFreeBSD

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

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



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

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

Event Timeline

jhb created this revision.Jan 27 2018, 5:31 PM
grehan accepted this revision.Feb 25 2018, 10:44 PM

This is an excellent change :)

This revision is now accepted and ready to land.Feb 25 2018, 10:44 PM
This revision was automatically updated to reflect the committed changes.