Commit 455cf98
committed
chore(vmm): Warn on unexpected subleaf for CPUID leaf 0xB
KVM no longer returns any subleaves greater than 0. The patch was merged
in v6.2 and backported to v5.10. So for all our supported kernels,
subleaves >= 2 should not be included [1].
However, we intentionally leave Firecracker not fail for unsupported
kernels to keep working. Note that we can detect KVM regression thanks
to the test that compares a fingerprint with its baseline.
So prints a warning message without bailing out.
[1]: torvalds/linux@45e966f
Signed-off-by: Takahiro Itazuri <[email protected]>1 parent 84d5995 commit 455cf98
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
373 | | - | |
374 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
375 | 383 | | |
376 | 384 | | |
377 | 385 | | |
| |||
0 commit comments