Skip to content

-no-user-config option, move CPU models to /usr/share

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest6 patches 8 repliesIn review

Changes in v3 from the cover letter

- Actually change 'defconfig' type declaration to bool
- Rebase against latest qemu.git (commit 563987d0a799f90b58a575b190a57546c335191b)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6move code to read default config files to a separate function (v2)arch_init.c qemu-config.h vl.c+24 -80 replies
2/6eliminate arch_config_name variablearch_init.c arch_init.h+1 -40 replies
3/6move list of default config files to an arrayarch_init.c+16 -90 replies
4/6vl.c: change 'defconfig' variable to bool (v2)vl.c+2 -20 replies
5/6implement -no-user-config command-line option (v3)arch_init.c qemu-config.h qemu-options.hx +1 more+27 -83 replies
6/6move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2)Makefile arch_init.c sysconfigs/target/cpus-x86_64.conf +1 more+138 -1310 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchJiri Denemark
SeriesT-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH qemu v3 0/6] -no-user-config option, move CPU models to /usr/share

Changes v2 -> v3:
- Actually change 'defconfig' type declaration to bool
- Rebase against latest qemu.git (commit 563987d0a799f90b58a575b190a57546c335191b)

Changes v1 -> v2:
- Move qemu_read_default_config_files() prototype to qemu-config.h
- Make defconfig and userconfig variable bool
- Coding style change

Patches 1 to 4 just move some code around, patch 5 just adds the new option without adding any new config file. Patch 6 finally creates a /usr/share/qemu /cpus-x86_64.conf file, with the CPU models we currently have on Qemu.

Reference to previous discussion:
- http://marc.info/?l=qemu-devel&m=133278877315665

Eduardo Habkost (6):
move code to read default config files to a separate function (v2) eliminate arch_config_name variable
move list of default config files to an array
vl.c: change 'defconfig' variable to bool (v2) implement -no-user-config command-line option (v3)
move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2)

 Makefile                             |   12 +++-
 arch_init.c                          |   32 ++++++++-
 arch_init.h                          |    2 -
 qemu-config.h                        |    4 +
 qemu-options.hx                      |   16 ++++-
 sysconfigs/target/cpus-x86_64.conf   |  128 ++++++++++++++++++++++++++++++++++
 sysconfigs/target/target-x86_64.conf |  128 ----------------------------------
 vl.c                                 |   18 ++---
 8 files changed, 193 insertions(+), 147 deletions(-)
 create mode 100644 sysconfigs/target/cpus-x86_64.conf
Signature · 1 line
1.7.3.2