Repository navigation
Open
Task
0 / 80 of 8 issues completed
Copy link
Description
Objective. A capture saves every guest-visible piece of processor state, or refuses state that it cannot represent; a restore writes all of it; and a restore rejects unsupported state before it changes the partition. Most children concern the KVM backend.
Children.
| Issue | Scope | Blocked by |
|---|---|---|
| #1141 | KVM restore loses the guest's IA32_SPEC_CTRL mitigation settings. |
— |
| #1160 | KVM snapshots omit other guest-writable MSRs: IA32_UMWAIT_CONTROL, the machine-check banks, IA32_MISC_ENABLE and other feature and power MSRs, IA32_DEBUGCTL, IA32_BNDCFGS, and AMD's legacy PMU. |
— |
| #1158 | KVM snapshots lose a pending SMI and SMM execution state. | — |
| #1161 | KVM restore collapses two pending NMIs into one. | — |
| #1169 | KVM restore drops pending exceptions, and debug builds panic on state that KVM normalizes. | — |
| #1150 | Capture mixes CPU state from before and after an INIT or SIPI. | — |
| #1171 | A reserved REMOTE_READ delivery sets a KVM wakeup latch that snapshots do not save. |
— |
| #1168 | Unsupported snapshot state panics restore after it may have changed the partition. | — |
Order. No child blocks another.
Notes.
- openvmm: KVM snapshot restore loses guest SPEC_CTRL mitigation settings #1141 and openvmm: KVM VP snapshots omit guest-writable MSRs across several CPU features #1160 both add capability-gated optional VP state, and both must decide how older snapshots and readers behave; give them one mechanism and one policy. openvmm: KVM VP snapshots omit guest-writable MSRs across several CPU features #1160 may instead hide some of its CPUID features.
- openvmm: KVM snapshots silently lose pending SMI and SMM execution state #1158, openvmm: KVM snapshot restore collapses two pending NMIs into one #1161, and openvmm: KVM snapshot restore drops pending exceptions and panics on backend-normalized CPU state in debug builds #1169 all change
KvmVpStateAccess::{activity, set_activity}; land them one at a time. openvmm: KVM CPU reset retains a pending NMI and interrupt shadow #1159 (CPU reset), which moved to OpenVMM/microVM umbrella: OpenVMM issues outside the microVM and NVX implementation #1186 because a microVM never resets its vCPUs, changes the same functions, and openvmm: KVM snapshot restore collapses two pending NMIs into one #1161 asks to stay separate from its validity-flag fix. - openvmm: KVM snapshots silently lose pending SMI and SMM execution state #1158, openvmm: unsupported snapshot state panics restore after potentially changing the partition #1168, and openvmm: KVM snapshot restore drops pending exceptions and panics on backend-normalized CPU state in debug builds #1169 all change the generated
save_allorrestore_allinvmm_core/virt/src/state.rs.
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]OpenVMM/microVM umbrella: processor state across snapshots and resets[/-][+]OpenVMM/microVM umbrella: processor state across snapshots[/+]