Commit 3064828
committed
fix(x86_64): serialize full KVM custom MSR range for snapshot
KVM reserves the range 0x4b564d00-0x4b564dff for custom MSRs. The
current snapshot implementation only serializes a small subset of
these MSRs, which risks missing newly introduced KVM features. Some
MSRs are already absent from the list (e.g. MSR_KVM_ASYNC_PF_INT and
MSR_KVM_ASYNC_PF_ACK).
Replace the individual MSR entries with a single range covering the
full KVM custom MSR space so that all KVM-defined MSRs are included
during snapshot serialization.
Signed-off-by: Zhiheng Tao <junchuan.tzh@antgroup.com>
Signed-off-by: junchuan.tzh <junchuan.tzh@antgroup.com>1 parent 8b55c86 commit 3064828
1 file changed
Lines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 53 | + | |
| 54 | + | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
| |||
218 | 213 | | |
219 | 214 | | |
220 | 215 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | 216 | | |
227 | 217 | | |
228 | 218 | | |
| |||
234 | 224 | | |
235 | 225 | | |
236 | 226 | | |
237 | | - | |
238 | | - | |
239 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
240 | 232 | | |
241 | 233 | | |
242 | 234 | | |
| |||
0 commit comments