Support CPUID signature for TCG
Status from this message: Queued on x86-next. Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 12 repliesApplied
- v32 patches 3 repliesSuperseded
- v22 patches 1 replySuperseded
Changes in v4 from the cover letter
- Report 0x40000001 in EAX for 0x40000000 index (Eduardo)
- Report all zeros for 0x40000001 index (Eduardo)
- Make code style consistent when checking limits (Eduardo)
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | i386: rewrite way CPUID index is validatedtarget/ | +15 | 2 replies | |
| 2/2 | i386: expose "TCGTCGTCGTCG" in the 0x40000000 CPUID leafinclude/ target/ target/ | +34 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Eduardo Habkost |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v4 0/2] Support CPUID signature for TCG
This enables report of a signature in CPUID for the TCG interpretor.
Changed in v4:
- Report 0x40000001 in EAX for 0x40000000 index (Eduardo)
- Report all zeros for 0x40000001 index (Eduardo)
- Make code style consistent when checking limits (Eduardo)
Changed in v3:
- Simplify CPU limit code still further (Eduardo)
Changed in v2:
- Rewrite the way we bounds check / cap the CPUID index to use a flat switch, instead of nested ifs (Eduardo)
- Add a 'tcg-cpuid' property to allow it to be hidden (Eduardo)
- Hide the TCG signature for old machine types
- Force code to a no-op if tcg_enabled() is false (Eduardo)
NB, I did not introduce a general 'hypervisor-cpuid' property to obsolete the existing 'kvm=off|on' -cpu property, since it appears impossible to get the back compat semantics right, as described in a previous reply.
Daniel P. Berrange (2):
i386: rewrite way CPUID index is validated
i386: expose "TCGTCGTCGTCG" in the 0x40000000 CPUID leaf
include/hw/i386/pc.h | 5 ++++ target/i386/cpu.c | 65 +++++++++++++++++++++++++++++++++++----------------- target/i386/cpu.h | 1 + 3 files changed, 50 insertions(+), 21 deletions(-)
Signature · 1 line
2.9.3