qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 085d9a: docs/system: add a gentle prompt for


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 085d9a: docs/system: add a gentle prompt for the complexit...
Date: Thu, 11 Mar 2021 10:55:27 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 085d9afc68e30b97b1d4118849a3f3c8c77ff43a
      
https://github.com/qemu/qemu/commit/085d9afc68e30b97b1d4118849a3f3c8c77ff43a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M docs/system/quickstart.rst
    M docs/system/targets.rst

  Log Message:
  -----------
  docs/system: add a gentle prompt for the complexity to come

We all know the QEMU command line can become a fiendishly complex
beast. Lets gently prepare our user for the horrors to come by
referencing where other example command lines can be found in the
manual.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210305092328.31792-3-alex.bennee@linaro.org>


  Commit: dd5af6ece9b101d29895851a7441d848b7ccdbff
      
https://github.com/qemu/qemu/commit/dd5af6ece9b101d29895851a7441d848b7ccdbff
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    A tests/docker/test-tcg

  Log Message:
  -----------
  tests/docker: add a test-tcg for building then running check-tcg

This is mostly useful for verifying containers will work on the CI
setup.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210305092328.31792-4-alex.bennee@linaro.org>


  Commit: e6d27a9c0db828c1fa2854eddefaab757b1e8447
      
https://github.com/qemu/qemu/commit/e6d27a9c0db828c1fa2854eddefaab757b1e8447
  Author: Daniele Buono <dbuono@linux.vnet.ibm.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M .gitlab-ci.yml

  Log Message:
  -----------
  gitlab-ci.yml: Allow custom # of parallel linkers

Define a new variable LD_JOBS, that can be used to select
the maximum number of linking jobs to be executed in parallel.
If the variable is not defined, maintain the default given by
make -j

Currently, make parallelism at build time is based on the number
of cpus available.

This doesn't work well with LTO at linking, because with LTO the
linker has to load in memory all the intermediate object files
for optimization.
The end result is that, if the gitlab runner happens to run two
linking processes at the same time, the job will fail with an
out-of-memory error,

This patch leverages the ability to maintain high parallelism at
compile time, but limit the number of linkers executed in parallel.

Signed-off-by: Daniele Buono <dbuono@linux.vnet.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210304030948.9367-2-dbuono@linux.vnet.ibm.com>
Message-Id: <20210305092328.31792-8-alex.bennee@linaro.org>


  Commit: 1bb12e172af1f9e308b8858230651326e3bf4587
      
https://github.com/qemu/qemu/commit/1bb12e172af1f9e308b8858230651326e3bf4587
  Author: Daniele Buono <dbuono@linux.vnet.ibm.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M .gitlab-ci.yml

  Log Message:
  -----------
  gitlab-ci.yml: Add jobs to test CFI flags

QEMU has had options to enable control-flow integrity features
for a few months now. Add two sets of build/check/acceptance
jobs to ensure the binary produced is working fine.

The three sets allow testing of x86_64 binaries for x86_64, s390x,
ppc64 and aarch64 targets

[AJB: tweak job names to avoid brands]

Signed-off-by: Daniele Buono <dbuono@linux.vnet.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210304030948.9367-3-dbuono@linux.vnet.ibm.com>
Message-Id: <20210305092328.31792-9-alex.bennee@linaro.org>


  Commit: 327910dea16d2b7c45104f17ad3a7a45a71d335a
      
https://github.com/qemu/qemu/commit/327910dea16d2b7c45104f17ad3a7a45a71d335a
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M tests/docker/dockerfiles/debian10.docker

  Log Message:
  -----------
  tests/docker: Use --arch-only when building Debian cross image

When building a Docker image based on debian10.docker on
a non-x86 host, we get:

 [2/4] RUN apt update &&     DEBIAN_FRONTEND=noninteractive eatmydata     apt 
build-dep -yy qemu
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 The following information may help to resolve the situation:

 The following packages have unmet dependencies:
  builddeps:qemu : Depends: gcc-s390x-linux-gnu but it is not installable
                   Depends: gcc-alpha-linux-gnu but it is not installable
 E: Unable to correct problems, you have held broken packages.

Fix by using the --arch-only option suggested here:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1866032/comments/1

Suggested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210223211115.2971565-1-f4bug@amsat.org>
Message-Id: <20210305092328.31792-10-alex.bennee@linaro.org>


  Commit: 2c9192c17778f0b59df6d8d3292b177436338ed0
      
https://github.com/qemu/qemu/commit/2c9192c17778f0b59df6d8d3292b177436338ed0
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M .editorconfig

  Log Message:
  -----------
  .editorconfig: update the automatic mode setting for Emacs

It seems the editor specific keywords have been deprecated in the main
editorconfig plugin:

  
https://github.com/editorconfig/editorconfig-emacs#file-type-file_type_ext-file_type_emacs

Update the keywords to the suggested one and point users at the
extension.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210305144839.6558-1-alex.bennee@linaro.org>


  Commit: a6487d37c2adff7572f9d3be8635c1fa96231b67
      
https://github.com/qemu/qemu/commit/a6487d37c2adff7572f9d3be8635c1fa96231b67
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M hw/arm/virt.c
    M include/hw/arm/virt.h
    M include/hw/boards.h

  Log Message:
  -----------
  hw/board: promote fdt from ARM VirtMachineState to MachineState

The use of FDT's is quite common across our various platforms. To
allow the guest loader to tweak it we need to make it available in
the generic state. This creates the field and migrates the initial
user to use the generic field. Other boards will be updated in later
patches.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210303173642.3805-2-alex.bennee@linaro.org>


  Commit: c65d7080d82e932baae97b0ed4cb39ff22635be2
      
https://github.com/qemu/qemu/commit/c65d7080d82e932baae97b0ed4cb39ff22635be2
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M hw/riscv/virt.c
    M include/hw/riscv/virt.h

  Log Message:
  -----------
  hw/riscv: migrate fdt field to generic MachineState

This is a mechanical change to make the fdt available through
MachineState.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210303173642.3805-3-alex.bennee@linaro.org>


  Commit: 78da6a1bca224a8c1c4b1bdf2ca8ec19c74c6fc1
      
https://github.com/qemu/qemu/commit/78da6a1bca224a8c1c4b1bdf2ca8ec19c74c6fc1
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M include/sysemu/device_tree.h
    M softmmu/device_tree.c

  Log Message:
  -----------
  device_tree: add qemu_fdt_setprop_string_array helper

A string array in device tree is simply a series of \0 terminated
strings next to each other. As libfdt doesn't support that directly
we need to build it ourselves.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210303173642.3805-4-alex.bennee@linaro.org>


  Commit: a33ff6d2c6bd480fbab3bc9f748655a9269881eb
      
https://github.com/qemu/qemu/commit/a33ff6d2c6bd480fbab3bc9f748655a9269881eb
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M MAINTAINERS
    A hw/core/guest-loader.c
    A hw/core/guest-loader.h
    M hw/core/meson.build

  Log Message:
  -----------
  hw/core: implement a guest-loader to support static hypervisor guests

Hypervisors, especially type-1 ones, need the firmware/bootcode to put
their initial guest somewhere in memory and pass the information to it
via platform data. The guest-loader is modelled after the generic
loader for exactly this sort of purpose:

  $QEMU $ARGS  -kernel ~/xen.git/xen/xen \
    -append "dom0_mem=1G,max:1G loglvl=all guest_loglvl=all" \
    -device guest-loader,addr=0x42000000,kernel=Image,bootargs="root=/dev/sda2 
ro console=hvc0 earlyprintk=xen" \
    -device guest-loader,addr=0x47000000,initrd=rootfs.cpio

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210303173642.3805-5-alex.bennee@linaro.org>


  Commit: 70f20110150ec60d112bbbc9a6f8b100cd203701
      
https://github.com/qemu/qemu/commit/70f20110150ec60d112bbbc9a6f8b100cd203701
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M MAINTAINERS
    R docs/generic-loader.txt
    A docs/system/generic-loader.rst
    M docs/system/index.rst

  Log Message:
  -----------
  docs: move generic-loader documentation into the main manual

We might as well surface this useful information in the manual so
users can find it easily. It is a fairly simple conversion to rst with
the only textual fixes being QemuOps to QemuOpts.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210303173642.3805-6-alex.bennee@linaro.org>


  Commit: 0146037807831ff6424e5b8be66532ce39f0eb13
      
https://github.com/qemu/qemu/commit/0146037807831ff6424e5b8be66532ce39f0eb13
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M MAINTAINERS
    A docs/system/guest-loader.rst
    M docs/system/index.rst

  Log Message:
  -----------
  docs: add some documentation for the guest-loader

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210303173642.3805-7-alex.bennee@linaro.org>


  Commit: 2ceb7c03a2cd89dfb04e2e6707b6e7bd61142653
      
https://github.com/qemu/qemu/commit/2ceb7c03a2cd89dfb04e2e6707b6e7bd61142653
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M MAINTAINERS
    A tests/acceptance/boot_xen.py

  Log Message:
  -----------
  tests/avocado: add boot_xen tests

These tests make sure we can boot the Xen hypervisor with a Dom0
kernel using the guest-loader. We currently have to use a kernel I
built myself because there are issues using the Debian kernel images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210303173642.3805-8-alex.bennee@linaro.org>


  Commit: 6b5fe13786f2e06fce4ceb5f871dd239917105c6
      
https://github.com/qemu/qemu/commit/6b5fe13786f2e06fce4ceb5f871dd239917105c6
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M MAINTAINERS
    M gdbstub.c
    M hw/mips/malta.c
    M hw/semihosting/arm-compat-semi.c
    M hw/semihosting/config.c
    M hw/semihosting/console.c
    R include/hw/semihosting/console.h
    R include/hw/semihosting/semihost.h
    A include/semihosting/console.h
    A include/semihosting/semihost.h
    M linux-user/aarch64/cpu_loop.c
    M linux-user/arm/cpu_loop.c
    M linux-user/riscv/cpu_loop.c
    M linux-user/semihost.c
    M softmmu/vl.c
    M stubs/semihost.c
    M target/arm/helper.c
    M target/arm/m_helper.c
    M target/arm/translate-a64.c
    M target/arm/translate.c
    M target/lm32/helper.c
    M target/m68k/op_helper.c
    M target/mips/cpu.c
    M target/mips/mips-semi.c
    M target/mips/translate.c
    M target/nios2/helper.c
    M target/riscv/cpu_helper.c
    M target/unicore32/helper.c
    M target/xtensa/translate.c
    M target/xtensa/xtensa-semi.c

  Log Message:
  -----------
  semihosting: Move include/hw/semihosting/ -> include/semihosting/

We want to move the semihosting code out of hw/ in the next patch.

This patch contains the mechanical steps, created using:

  $ git mv include/hw/semihosting/ include/
  $ sed -i s,hw/semihosting,semihosting, $(git grep -l hw/semihosting)

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210226131356.3964782-2-f4bug@amsat.org>
Message-Id: <20210305135451.15427-2-alex.bennee@linaro.org>


  Commit: 8df9f0c3d7f53c5a123ebb873d1c22daec003c22
      
https://github.com/qemu/qemu/commit/8df9f0c3d7f53c5a123ebb873d1c22daec003c22
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M Kconfig
    M MAINTAINERS
    M hw/Kconfig
    M hw/meson.build
    R hw/semihosting/Kconfig
    R hw/semihosting/arm-compat-semi.c
    R hw/semihosting/common-semi.h
    R hw/semihosting/config.c
    R hw/semihosting/console.c
    R hw/semihosting/meson.build
    M meson.build
    A semihosting/Kconfig
    A semihosting/arm-compat-semi.c
    A semihosting/common-semi.h
    A semihosting/config.c
    A semihosting/console.c
    A semihosting/meson.build

  Log Message:
  -----------
  semihosting: Move hw/semihosting/ -> semihosting/

With the exception of hw/core/, the hw/ directory only contains
device models used in system emulation. Semihosting is also used
by user emulation. As a generic feature, move it out of hw/ directory.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210226131356.3964782-3-f4bug@amsat.org>
Message-Id: <20210305135451.15427-3-alex.bennee@linaro.org>


  Commit: f4abdf32714d1845b7c01ec136dd2b04c2f7db47
      
https://github.com/qemu/qemu/commit/f4abdf32714d1845b7c01ec136dd2b04c2f7db47
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M .editorconfig
    M .gitlab-ci.yml
    M Kconfig
    M MAINTAINERS
    R docs/generic-loader.txt
    A docs/system/generic-loader.rst
    A docs/system/guest-loader.rst
    M docs/system/index.rst
    M docs/system/quickstart.rst
    M docs/system/targets.rst
    M gdbstub.c
    M hw/Kconfig
    M hw/arm/virt.c
    A hw/core/guest-loader.c
    A hw/core/guest-loader.h
    M hw/core/meson.build
    M hw/meson.build
    M hw/mips/malta.c
    M hw/riscv/virt.c
    R hw/semihosting/Kconfig
    R hw/semihosting/arm-compat-semi.c
    R hw/semihosting/common-semi.h
    R hw/semihosting/config.c
    R hw/semihosting/console.c
    R hw/semihosting/meson.build
    M include/hw/arm/virt.h
    M include/hw/boards.h
    M include/hw/riscv/virt.h
    R include/hw/semihosting/console.h
    R include/hw/semihosting/semihost.h
    A include/semihosting/console.h
    A include/semihosting/semihost.h
    M include/sysemu/device_tree.h
    M linux-user/aarch64/cpu_loop.c
    M linux-user/arm/cpu_loop.c
    M linux-user/riscv/cpu_loop.c
    M linux-user/semihost.c
    M meson.build
    A semihosting/Kconfig
    A semihosting/arm-compat-semi.c
    A semihosting/common-semi.h
    A semihosting/config.c
    A semihosting/console.c
    A semihosting/meson.build
    M softmmu/device_tree.c
    M softmmu/vl.c
    M stubs/semihost.c
    M target/arm/helper.c
    M target/arm/m_helper.c
    M target/arm/translate-a64.c
    M target/arm/translate.c
    M target/lm32/helper.c
    M target/m68k/op_helper.c
    M target/mips/cpu.c
    M target/mips/mips-semi.c
    M target/mips/translate.c
    M target/nios2/helper.c
    M target/riscv/cpu_helper.c
    M target/unicore32/helper.c
    M target/xtensa/translate.c
    M target/xtensa/xtensa-semi.c
    A tests/acceptance/boot_xen.py
    M tests/docker/dockerfiles/debian10.docker
    A tests/docker/test-tcg

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-docs-xen-updates-100321-2' into staging

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/

# gpg: Signature made Wed 10 Mar 2021 15:35:31 GMT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-testing-docs-xen-updates-100321-2:
  semihosting: Move hw/semihosting/ -> semihosting/
  semihosting: Move include/hw/semihosting/ -> include/semihosting/
  tests/avocado: add boot_xen tests
  docs: add some documentation for the guest-loader
  docs: move generic-loader documentation into the main manual
  hw/core: implement a guest-loader to support static hypervisor guests
  device_tree: add qemu_fdt_setprop_string_array helper
  hw/riscv: migrate fdt field to generic MachineState
  hw/board: promote fdt from ARM VirtMachineState to MachineState
  .editorconfig: update the automatic mode setting for Emacs
  tests/docker: Use --arch-only when building Debian cross image
  gitlab-ci.yml: Add jobs to test CFI flags
  gitlab-ci.yml: Allow custom # of parallel linkers
  tests/docker: add a test-tcg for building then running check-tcg
  docs/system: add a gentle prompt for the complexity to come

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/9abda42bf2f5...f4abdf32714d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]