Page MenuHomeFreeBSD

Set HZ=100 for QEMU.
ClosedPublic

Authored by markj on Wed, Jan 2, 6:11 PM.

Details

Summary

This is standard for VM guest kernels. However, we currently have no
good way to detect that we're running in a VM; there are various
machine-mode CSRs (e.g., mimpid) that can in principle be used to
determine this sort of thing, but as far as I can see they are not
available in supervisor mode.

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

markj created this revision.Wed, Jan 2, 6:11 PM
jhb accepted this revision.Wed, Jan 2, 11:26 PM
This revision is now accepted and ready to land.Wed, Jan 2, 11:26 PM
This revision was automatically updated to reflect the committed changes.