i386: Ensure feature names are always defined
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | i386: Add missing "vmx-ept-wb" feature nametarget/ | +1 | 6 replies | |
| 2/3 | i386: Move asserts to separate x86_cpudef_validate() functiontarget/ | +12 | 1 reply | |
| 3/3 | i386: Sanity check CPU model feature setstarget/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] i386: Ensure feature names are always defined
Forgetting to adding feature names to the feature array seems to be a very common mistake.
Examples:
- Missing name for MSR_VMX_EPT_WB
commit 0723cc8a5558 ("target/i386: add VMX features to named CPU models")
- Missing name for "ibrs" at
https://lore.kernel.org/qemu-devel/[email protected]
This series fixes the MSR_VMX_EPT_WB problem and adds a runtime check that should detect similar mistakes even before CPU model classes are registered.
Eduardo Habkost (3):
i386: Add missing "vmx-ept-wb" feature name
i386: Move asserts to separate x86_cpudef_validate() function
i386: Sanity check CPU model feature sets
target/i386/cpu.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-)
Signature · 1 line
2.28.0