Skip to content

qapi: Restrict X86 features to X86 targets

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest4 patches 1 replyIn review

Changes in v5 from the cover letter

- Rebase on Claudio's work to avoid stub

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/i386/cpu: Introduce get_register_enum_32() helpertarget/i386/cpu-internal.h target/i386/cpu.c+10 -10 replies
2/4target/i386/cpu: Restrict x86_cpu_get_feature_words to sysemutarget/i386/cpu-internal.h target/i386/cpu-softmmu.c target/i386/cpu.c+42 -370 replies
3/4qapi: Move X86 specific types to machine-target.jsonqapi/machine-target.json qapi/machine.json target/i386/cpu-softmmu.c+43 -430 replies
4/4qapi/machine-target: Restrict X86 features to X86 targetsqapi/machine-target.json+6 -30 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRichard Henderson
1/4
2/4
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] qapi: Restrict X86 features to X86 targets

Since v4:
- Rebase on Claudio's work to avoid stub

This series restrict the 'feature-words' property to the x86 architecture (other archs don't have it), and to system-mode (user-mode doesn't use it).

v4: https://www.mail-archive.com/[email protected]/msg746628.html

Supersedes: <[email protected]>
Based-on: <[email protected]>

Philippe Mathieu-Daudé (4):
target/i386/cpu: Introduce get_register_enum_32() helper target/i386/cpu: Restrict x86_cpu_get_feature_words to sysemu
qapi: Move X86 specific types to machine-target.json qapi/machine-target: Restrict X86 features to X86 targets

 qapi/machine-target.json   | 45 ++++++++++++++++++++++++++++++++++++++
 qapi/machine.json          | 42 -----------------------------------
 target/i386/cpu-internal.h |  7 ++++++
 target/i386/cpu-softmmu.c  | 36 ++++++++++++++++++++++++++++++
 target/i386/cpu.c          | 45 +++++++-------------------------------
 5 files changed, 96 insertions(+), 79 deletions(-)
Signature · 1 line
2.26.2