[00/17] Delete 16 *_cpu_class_by_name() functions
mbox series

Message ID 20190419061349.17094-1-ehabkost@redhat.com
Headers show
Series
  • Delete 16 *_cpu_class_by_name() functions
Related show

Message

Eduardo Habkost April 19, 2019, 6:13 a.m. UTC
This series adds a new CPUClass::class_name_format field, which
allows us to delete 16 of the 21 *_cpu_class_by_name() functions
that exist today.

Cornelia Huck (1):
  hw: add compat machines for 4.1

Eduardo Habkost (9):
  cpu: Rename parse_cpu_model() to parse_cpu_option()
  cpu: Fix crash with empty -cpu option
  cpu: Change return type of cpu_class_by_name() to CPUClass
  riscv: Don't split CPU model string
  arm: Don't split CPU model string
  arm: Remove special case for "any" CPU model
  cpu: Let architectures set CPU class name format
  cpu: Set class name format for some architectures
  cpu: Set fixed class name on some architectures

Markus Armbruster (2):
  vl: Clean up after previous commit
  vl: Simplify machine_parse()

Wei Yang (2):
  vl.c: make find_default_machine() local
  vl.c: allocate TYPE_MACHINE list once during bootup

Zhang Yi (3):
  util/mmap-alloc: Add a 'is_pmem' parameter to qemu_ram_mmap
  scripts/update-linux-headers: add linux/mman.h
  linux-headers: add linux/mman.h.

 include/hw/boards.h                        |   4 +-
 include/hw/i386/pc.h                       |   3 +
 include/qemu/mmap-alloc.h                  |  21 +++-
 include/qom/cpu.h                          |  20 +++-
 linux-headers/asm-arm/mman.h               |   4 +
 linux-headers/asm-arm64/mman.h             |   1 +
 linux-headers/asm-generic/hugetlb_encode.h |  36 +++++++
 linux-headers/asm-generic/mman-common.h    |  77 +++++++++++++++
 linux-headers/asm-generic/mman.h           |  24 +++++
 linux-headers/asm-mips/mman.h              | 108 +++++++++++++++++++++
 linux-headers/asm-powerpc/mman.h           |  39 ++++++++
 linux-headers/asm-s390/mman.h              |   1 +
 linux-headers/asm-x86/mman.h               |  31 ++++++
 linux-headers/linux/mman.h                 |  38 ++++++++
 target/s390x/internal.h                    |   1 -
 bsd-user/main.c                            |   2 +-
 exec.c                                     |  18 ++--
 hw/arm/virt.c                              |   9 +-
 hw/core/machine.c                          |   3 +
 hw/i386/pc.c                               |   3 +
 hw/i386/pc_piix.c                          |  14 ++-
 hw/i386/pc_q35.c                           |  13 ++-
 hw/ppc/spapr.c                             |  15 ++-
 hw/s390x/s390-virtio-ccw.c                 |  14 ++-
 linux-user/main.c                          |   2 +-
 qom/cpu.c                                  |  20 +++-
 target/arm/cpu.c                           |  30 +-----
 target/hppa/cpu.c                          |   8 +-
 target/i386/cpu.c                          |  11 +--
 target/lm32/cpu.c                          |  17 +---
 target/m68k/cpu.c                          |  17 +---
 target/microblaze/cpu.c                    |   8 +-
 target/mips/cpu.c                          |  13 +--
 target/moxie/cpu.c                         |  17 +---
 target/nios2/cpu.c                         |   8 +-
 target/openrisc/cpu.c                      |  17 +---
 target/riscv/cpu.c                         |  20 +---
 target/s390x/cpu.c                         |   2 +-
 target/s390x/cpu_models.c                  |  20 +---
 target/tilegx/cpu.c                        |   8 +-
 target/tricore/cpu.c                       |  17 +---
 target/unicore32/cpu.c                     |  17 +---
 target/xtensa/cpu.c                        |  17 +---
 util/mmap-alloc.c                          |   6 +-
 util/oslib-posix.c                         |   2 +-
 vl.c                                       |  87 +++++++----------
 scripts/update-linux-headers.sh            |   6 +-
 47 files changed, 566 insertions(+), 303 deletions(-)
 create mode 100644 linux-headers/asm-arm/mman.h
 create mode 100644 linux-headers/asm-arm64/mman.h
 create mode 100644 linux-headers/asm-generic/hugetlb_encode.h
 create mode 100644 linux-headers/asm-generic/mman-common.h
 create mode 100644 linux-headers/asm-generic/mman.h
 create mode 100644 linux-headers/asm-mips/mman.h
 create mode 100644 linux-headers/asm-powerpc/mman.h
 create mode 100644 linux-headers/asm-s390/mman.h
 create mode 100644 linux-headers/asm-x86/mman.h
 create mode 100644 linux-headers/linux/mman.h

Comments

Eduardo Habkost April 19, 2019, 6:16 a.m. UTC | #1
Please ignore this series.  I used master as base instead of
machine-next by mistake and it included all the patches that were
already in machine-next.  I'm sending another series with just
the 7 patches that I intended to submit.