Page MenuHomeFreeBSD

Add CR2 get/set to bhyvectl.
ClosedPublic

Authored by grehan on Mar 11 2018, 8:08 AM.

Details

Reviewers
rgrimes
araujo
Group Reviewers
bhyve
Commits
rS330764: Add CR2 get/set support.
Summary

Allow bhyvectl to get/set the CR2 register.

Reported/Tested by: Fabien Freyer

Test Plan

Tested by dropping a single vCPU FreeBSD/amd64 guest into ddb, and verifying
that the value of CR2 from 'show sysregs' was the same as ready by
bhyvectl. The value was then set from bhyvectl, and 'show sysregs'
used to verify that the updated value was seen from the guest.

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.

Event Timeline

grehan created this revision.Mar 11 2018, 8:08 AM
araujo accepted this revision.Mar 11 2018, 8:18 AM
araujo added a subscriber: araujo.

LGTM!

This revision is now accepted and ready to land.Mar 11 2018, 8:18 AM
This revision was automatically updated to reflect the committed changes.