Commit 21bc2a7
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>1 parent dc84e40 commit 21bc2a7
1 file changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
| 57 | + | |
54 | 58 | | |
| 59 | + | |
55 | 60 | | |
| 61 | + | |
56 | 62 | | |
| 63 | + | |
57 | 64 | | |
| 65 | + | |
58 | 66 | | |
| 67 | + | |
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
| |||
218 | 227 | | |
219 | 228 | | |
220 | 229 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
| |||
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
237 | | - | |
238 | | - | |
239 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
240 | 246 | | |
241 | 247 | | |
242 | 248 | | |
| |||
0 commit comments