You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c093df
Browse filesBrowse the repository at this point in the historyBrowse files
virt: save and restore architectural TSC-deadline state (#4704)
Preserve IA32_TSC_DEADLINE independently of the LAPIC register image so
snapshots retain armed deadlines. Gate the state on guest and backend
support, restore it after APIC configuration and TSC, and clear it on
reset and INIT.
Wire native KVM, MSHV, WHP, and OpenHCL register access while excluding
software APIC configurations. KVM uses direct MSR access here; partition
clock freezing remains a separate change.
Copy file name to clipboardExpand all lines: Guide/src/reference/architecture/timekeeping.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -219,13 +219,13 @@ have different stop/start anchors.
219
219
| Snapshot restore | Restores stopped software time and the state supported by each backend/device. A time-state setter must not implicitly thaw a supporting backend. |
220
220
| VTL scrub | May reset and freeze a backing VTL clock. The partition unit thaws it before restarting VPs; this is not a freeze of every VTL. |
221
221
222
-
The x86 `virt`saved-state model treats reference time, reference-page
223
-
configuration, TSC, and APIC state as separate elements. Reference time
224
-
is included only when Hyper-V enlightenments are enabled; lifecycle
225
-
freezing cannot therefore be hidden in its setter. The
226
-
`can_freeze_time` capability also governs whether advancing TSC/APIC
227
-
and reference-time state can be compared during state validation. A
228
-
reference-clock-only implementation is not sufficient to claim that
222
+
The x86 `virt` model separates reference time/page, TSC, APIC, and TSC deadline.
223
+
Deadline state requires guest/backend support and restores after APIC/TSC:
224
+
zero disarms; absent state is not restored. Native MSHV/WHP and KVM support
225
+
it, unlike software APICs. Reference time is included only when Hyper-V
226
+
enlightenments are enabled; lifecycle freezing cannot be hidden in its setter.
227
+
Lifecycle freeze is separate; `can_freeze_time` gates exact state comparison.
228
+
A reference-clock-only implementation is not sufficient to claim that
229
229
capability.
230
230
231
231
Arm state coverage differs: the generic `virt` partition-state schema is
0 commit comments