[DragonFlyBSD - Bug #3398] (New) [NVMM] Improve TSC handling

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 5 18:55:08 PST 2026


Issue #3398 has been reported by liweitianux.

----------------------------------------
Bug #3398: [NVMM] Improve TSC handling
http://bugs.dragonflybsd.org/issues/3398

* Author: liweitianux
* Status: New
* Priority: Normal
* Category: nvmm
* Target version: 6.6
* Start date: 2026-02-06
----------------------------------------
maxv suggested:

  - For the TSC stuff, I think you're right. I had made a half-hearted attempt at keeping a TSC ~mostly
    regular, but this introduces shifts between VCPUs, and it's shitty. The best way to fix it is probably
    to take the TSC field out of the MSR group, and move it into its own NVMM_X64_STATE_TSC group. Then in
    Qemu the impl should be changed, and probably be like WHPX's:
    	https://github.com/qemu/qemu/blob/master/target/i386/whpx/whpx-all.c#L463
    Ie the TSC is set only during resets, to zero.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list