Skip to content

short x86 CPU init cleanup (v3)

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Thanks, applied patches 1-2 to qom-cpu:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 16 repliesApplied

Changes v3 from the cover letter

- Fix memory leak spotted by Igor, on patch 2

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6target-i386/cpu.c: coding style fixestarget-i386/cpu.c+15 -131 reply
2/6target-i386: cpu: separate feature string parsing from CPU model lookuptarget-i386/cpu.c+46 -232 replies
3/6target-i386: use define for cpuid vendor string sizetarget-i386/cpu.c target-i386/cpu.h+5 -34 replies
4/6target-i386: postpone cpuid_level update to realize timetarget-i386/cpu.c+5 -31 reply
5/6add visitor for parsing hz[KMG] input stringqapi/qapi-visit-core.c qapi/qapi-visit-core.h qapi/string-input-visitor.c+35 -06 replies
6/6target-i386: use visit_type_hz to parse tsc_freq property valuetarget-i386/cpu.c+1 -11 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchAndreas FärberEduardo HabkostIgor Mammedov
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6A-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] short x86 CPU init cleanup (v3)

Changes v3:
- Fix memory leak spotted by Igor, on patch 2

Changes v2:
- Coding style changes (patches 1-2)
- Use "return -1" directly instead of "goto error" on cpu_x86_find_by_name() (patch 2)

This series is based on the qom-cpu branch from afaerber's tree. The full branch can be found in a git tree, at:
git://github.com/ehabkost/qemu-hacks.git cpu-init-cleanup-short-v3
https://github.com/ehabkost/qemu-hacks/tree/cpu-init-cleanup-short-v3

References to previous versions:
v2: http://marc.info/?l=qemu-devel&m=135464803607329
v1: http://article.gmane.org/gmane.comp.emulators.qemu/182713
previous (long) cleanup series:
http://article.gmane.org/gmane.comp.emulators.qemu/180137

Eduardo Habkost (2):
target-i386/cpu.c: coding style fixes
target-i386: cpu: separate feature string parsing from CPU model
lookup

Igor Mammedov (4):
target-i386: use define for cpuid vendor string size
target-i386: postpone cpuid_level update to realize time add visitor for parsing hz[KMG] input string
target-i386: use visit_type_hz to parse tsc_freq property value

 qapi/qapi-visit-core.c      |  11 +++++
 qapi/qapi-visit-core.h      |   2 +
 qapi/string-input-visitor.c |  22 ++++++++++
 target-i386/cpu.c           | 105 ++++++++++++++++++++++++++++----------------
 target-i386/cpu.h           |   2 +
 5 files changed, 103 insertions(+), 39 deletions(-)
Signature · 1 line
1.7.11.7