[PULL v2 00/15] testing, docs, semihosting move and guest-loader

Alex Bennée posted 15 patches 3 years, 1 month ago
Test checkpatch passed
Failed in applying to current master (apply log)
docs/generic-loader.txt                           |  92 ------
docs/system/generic-loader.rst                    | 117 +++++++
docs/system/guest-loader.rst                      |  54 ++++
docs/system/index.rst                             |   2 +
docs/system/quickstart.rst                        |   8 +
docs/system/targets.rst                           |   2 +
meson.build                                       |   1 +
hw/core/guest-loader.h                            |  34 +++
include/hw/arm/virt.h                             |   1 -
include/hw/boards.h                               |   1 +
include/hw/riscv/virt.h                           |   1 -
include/{hw => }/semihosting/console.h            |   0
include/{hw => }/semihosting/semihost.h           |   0
include/sysemu/device_tree.h                      |  17 ++
{hw/semihosting => semihosting}/common-semi.h     |   0
gdbstub.c                                         |   2 +-
hw/arm/virt.c                                     | 356 +++++++++++-----------
hw/core/guest-loader.c                            | 145 +++++++++
hw/mips/malta.c                                   |   2 +-
hw/riscv/virt.c                                   |  20 +-
linux-user/aarch64/cpu_loop.c                     |   2 +-
linux-user/arm/cpu_loop.c                         |   2 +-
linux-user/riscv/cpu_loop.c                       |   2 +-
linux-user/semihost.c                             |   2 +-
{hw/semihosting => semihosting}/arm-compat-semi.c |   6 +-
{hw/semihosting => semihosting}/config.c          |   2 +-
{hw/semihosting => semihosting}/console.c         |   4 +-
softmmu/device_tree.c                             |  26 ++
softmmu/vl.c                                      |   2 +-
stubs/semihost.c                                  |   2 +-
target/arm/helper.c                               |   4 +-
target/arm/m_helper.c                             |   4 +-
target/arm/translate-a64.c                        |   2 +-
target/arm/translate.c                            |   2 +-
target/lm32/helper.c                              |   2 +-
target/m68k/op_helper.c                           |   2 +-
target/mips/cpu.c                                 |   2 +-
target/mips/mips-semi.c                           |   4 +-
target/mips/translate.c                           |   2 +-
target/nios2/helper.c                             |   2 +-
target/riscv/cpu_helper.c                         |   2 +-
target/unicore32/helper.c                         |   2 +-
target/xtensa/translate.c                         |   2 +-
target/xtensa/xtensa-semi.c                       |   2 +-
.editorconfig                                     |  17 +-
.gitlab-ci.yml                                    | 123 ++++++++
Kconfig                                           |   1 +
MAINTAINERS                                       |  13 +-
hw/Kconfig                                        |   1 -
hw/core/meson.build                               |   2 +
hw/meson.build                                    |   1 -
{hw/semihosting => semihosting}/Kconfig           |   0
{hw/semihosting => semihosting}/meson.build       |   0
tests/acceptance/boot_xen.py                      | 118 +++++++
tests/docker/dockerfiles/debian10.docker          |   2 +-
tests/docker/test-tcg                             |  22 ++
56 files changed, 921 insertions(+), 318 deletions(-)
delete mode 100644 docs/generic-loader.txt
create mode 100644 docs/system/generic-loader.rst
create mode 100644 docs/system/guest-loader.rst
create mode 100644 hw/core/guest-loader.h
rename include/{hw => }/semihosting/console.h (100%)
rename include/{hw => }/semihosting/semihost.h (100%)
rename {hw/semihosting => semihosting}/common-semi.h (100%)
create mode 100644 hw/core/guest-loader.c
rename {hw/semihosting => semihosting}/arm-compat-semi.c (99%)
rename {hw/semihosting => semihosting}/config.c (99%)
rename {hw/semihosting => semihosting}/console.c (98%)
rename {hw/semihosting => semihosting}/Kconfig (100%)
rename {hw/semihosting => semihosting}/meson.build (100%)
create mode 100644 tests/acceptance/boot_xen.py
create mode 100755 tests/docker/test-tcg
[PULL v2 00/15] testing, docs, semihosting move and guest-loader
Posted by Alex Bennée 3 years, 1 month ago
v2 drops the hexagon docker patches.

The following changes since commit a557b00469bca61a058fc1db4855503cac1c3219:

  Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2021-03-09 21:31:18 +0000)

are available in the Git repository at:

  https://github.com/stsquad/qemu.git tags/pull-testing-docs-xen-updates-100321-2

for you to fetch changes up to 8df9f0c3d7f53c5a123ebb873d1c22daec003c22:

  semihosting: Move hw/semihosting/ -> semihosting/ (2021-03-10 15:34:12 +0000)

----------------------------------------------------------------
Testing, guest-loader and other misc tweaks

  - add warning text to quickstart example
  - add CFI tests to CI
  - use --arch-only for docker pre-requisites
  - fix .editorconfig for emacs
  - add guest-loader for Xen-like hypervisor testing
  - move generic-loader docs into manual proper
  - move semihosting out of hw/

----------------------------------------------------------------
Alex Bennée (10):
      docs/system: add a gentle prompt for the complexity to come
      tests/docker: add a test-tcg for building then running check-tcg
      .editorconfig: update the automatic mode setting for Emacs
      hw/board: promote fdt from ARM VirtMachineState to MachineState
      hw/riscv: migrate fdt field to generic MachineState
      device_tree: add qemu_fdt_setprop_string_array helper
      hw/core: implement a guest-loader to support static hypervisor guests
      docs: move generic-loader documentation into the main manual
      docs: add some documentation for the guest-loader
      tests/avocado: add boot_xen tests

Daniele Buono (2):
      gitlab-ci.yml: Allow custom # of parallel linkers
      gitlab-ci.yml: Add jobs to test CFI flags

Philippe Mathieu-Daudé (3):
      tests/docker: Use --arch-only when building Debian cross image
      semihosting: Move include/hw/semihosting/ -> include/semihosting/
      semihosting: Move hw/semihosting/ -> semihosting/

 docs/generic-loader.txt                           |  92 ------
 docs/system/generic-loader.rst                    | 117 +++++++
 docs/system/guest-loader.rst                      |  54 ++++
 docs/system/index.rst                             |   2 +
 docs/system/quickstart.rst                        |   8 +
 docs/system/targets.rst                           |   2 +
 meson.build                                       |   1 +
 hw/core/guest-loader.h                            |  34 +++
 include/hw/arm/virt.h                             |   1 -
 include/hw/boards.h                               |   1 +
 include/hw/riscv/virt.h                           |   1 -
 include/{hw => }/semihosting/console.h            |   0
 include/{hw => }/semihosting/semihost.h           |   0
 include/sysemu/device_tree.h                      |  17 ++
 {hw/semihosting => semihosting}/common-semi.h     |   0
 gdbstub.c                                         |   2 +-
 hw/arm/virt.c                                     | 356 +++++++++++-----------
 hw/core/guest-loader.c                            | 145 +++++++++
 hw/mips/malta.c                                   |   2 +-
 hw/riscv/virt.c                                   |  20 +-
 linux-user/aarch64/cpu_loop.c                     |   2 +-
 linux-user/arm/cpu_loop.c                         |   2 +-
 linux-user/riscv/cpu_loop.c                       |   2 +-
 linux-user/semihost.c                             |   2 +-
 {hw/semihosting => semihosting}/arm-compat-semi.c |   6 +-
 {hw/semihosting => semihosting}/config.c          |   2 +-
 {hw/semihosting => semihosting}/console.c         |   4 +-
 softmmu/device_tree.c                             |  26 ++
 softmmu/vl.c                                      |   2 +-
 stubs/semihost.c                                  |   2 +-
 target/arm/helper.c                               |   4 +-
 target/arm/m_helper.c                             |   4 +-
 target/arm/translate-a64.c                        |   2 +-
 target/arm/translate.c                            |   2 +-
 target/lm32/helper.c                              |   2 +-
 target/m68k/op_helper.c                           |   2 +-
 target/mips/cpu.c                                 |   2 +-
 target/mips/mips-semi.c                           |   4 +-
 target/mips/translate.c                           |   2 +-
 target/nios2/helper.c                             |   2 +-
 target/riscv/cpu_helper.c                         |   2 +-
 target/unicore32/helper.c                         |   2 +-
 target/xtensa/translate.c                         |   2 +-
 target/xtensa/xtensa-semi.c                       |   2 +-
 .editorconfig                                     |  17 +-
 .gitlab-ci.yml                                    | 123 ++++++++
 Kconfig                                           |   1 +
 MAINTAINERS                                       |  13 +-
 hw/Kconfig                                        |   1 -
 hw/core/meson.build                               |   2 +
 hw/meson.build                                    |   1 -
 {hw/semihosting => semihosting}/Kconfig           |   0
 {hw/semihosting => semihosting}/meson.build       |   0
 tests/acceptance/boot_xen.py                      | 118 +++++++
 tests/docker/dockerfiles/debian10.docker          |   2 +-
 tests/docker/test-tcg                             |  22 ++
 56 files changed, 921 insertions(+), 318 deletions(-)
 delete mode 100644 docs/generic-loader.txt
 create mode 100644 docs/system/generic-loader.rst
 create mode 100644 docs/system/guest-loader.rst
 create mode 100644 hw/core/guest-loader.h
 rename include/{hw => }/semihosting/console.h (100%)
 rename include/{hw => }/semihosting/semihost.h (100%)
 rename {hw/semihosting => semihosting}/common-semi.h (100%)
 create mode 100644 hw/core/guest-loader.c
 rename {hw/semihosting => semihosting}/arm-compat-semi.c (99%)
 rename {hw/semihosting => semihosting}/config.c (99%)
 rename {hw/semihosting => semihosting}/console.c (98%)
 rename {hw/semihosting => semihosting}/Kconfig (100%)
 rename {hw/semihosting => semihosting}/meson.build (100%)
 create mode 100644 tests/acceptance/boot_xen.py
 create mode 100755 tests/docker/test-tcg

-- 
2.20.1


Re: [PULL v2 00/15] testing, docs, semihosting move and guest-loader
Posted by Peter Maydell 3 years, 1 month ago
On Wed, 10 Mar 2021 at 16:00, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> v2 drops the hexagon docker patches.
>
> The following changes since commit a557b00469bca61a058fc1db4855503cac1c3219:
>
>   Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2021-03-09 21:31:18 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/stsquad/qemu.git tags/pull-testing-docs-xen-updates-100321-2
>
> for you to fetch changes up to 8df9f0c3d7f53c5a123ebb873d1c22daec003c22:
>
>   semihosting: Move hw/semihosting/ -> semihosting/ (2021-03-10 15:34:12 +0000)
>
> ----------------------------------------------------------------
> Testing, guest-loader and other misc tweaks
>
>   - add warning text to quickstart example
>   - add CFI tests to CI
>   - use --arch-only for docker pre-requisites
>   - fix .editorconfig for emacs
>   - add guest-loader for Xen-like hypervisor testing
>   - move generic-loader docs into manual proper
>   - move semihosting out of hw/
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.0
for any user-visible changes.

-- PMM