- Clear CR2, EFER, and R8-15 to zero.
- Reset DR6 and DR7 to their documented reset values.
- Reset interrupt shadow state.
- Document the reason CR0 is reset to a value that doesn't match its documented value.
Differential D35622
bhyve: Initialize more registers in vcpu_reset(). corvink on Jun 28 2022, 8:45 AM. Authored by Tags Referenced Files
Details
Diff Detail
Event TimelineComment Actions I would perhaps adjust the commit log to say something more like: bhyve: Initialize more registers in vcpu_reset(). - Clear CR2, EFER, and R8-15 to zero. - Reset DR6 and DR7 to their documented reset values. - Reset interrupt shadow state. - Document the reason CR0 is reset to a value that doesn't match its documented value. |