Skip to content

Commit

Permalink
Merge tag 'pull-request-2024-04-24' of https://gitlab.com/thuth/qemu
Browse files Browse the repository at this point in the history
…into staging

* Update OpenBSD CI image to 7.5
* Update/remove Ubuntu 20.04 CI jobs
* Update CentOS 8 CI jobs to CentOS 9
* Some clean-ups and improvements to travis.yml
* Minor test fixes
* s390x header clean-ups
* Doc updates

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmYouUERHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbV7Ug/+OuipQKNamMkHCRlQ81aWa6fFgqK77xPl
# hSQ3zUVJs3aR6WCP5AHbGNDSj/wBFb9ynraUgqfB8onP6Oltn6Zkm10ymNWmnyM3
# K/FWMYbCl2ke1+R8pxhLL/yev2XPr5mJPqrVB17fWwZDgKUX/gpJWsHEFYheY4hV
# /lB0uour9ajnZRInnkvuNfogMM08jEpndonVHpbjgppeEDzDgAoZsd3yC+7PoPBr
# tCl3lAQVHV9Jr3OHy0P8aa90lBGsh6thZRvxRtB9AViGFOB2AMIzuLR7N+86e+cn
# k7Df0vIha3TfEhPOf2I7rnZ3sGJby9SEz1JEr84EpLQtvMnb3LU5UDYxQChfJA8g
# QeAC8tKqRoR8V0DFMeADKhHuNVcnP00tx181ZofVlgn+OqUo0kat6wsExPdOSIvf
# giBIyWLhzYzsXKt9CVhGsgjnx0LgF/tl5D7OKs8uFGVW63AVDy756j1oRzTecIB1
# 7VTivBMXOORF2+rBUGwaG9KXod+nht+y72T7/fuh7kp1ezWjIHc8ooGdjYMq+Fg5
# FqfMxEzXhoH8dVGa9E7mFmcPnn9lXNhN1WUUzAhq0e94cN+59CffI6jy7Pn+uXB5
# w3IZmb5XkSwwjhd8CWnQQbZUVVKbzeI7qzgEGyDQAUWKxq2uO8AjpTEOfys884Cx
# MBXuuTcIUZk=
# =Ai+u
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 24 Apr 2024 12:48:17 AM PDT
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [undefined]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [undefined]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* tag 'pull-request-2024-04-24' of https://gitlab.com/thuth/qemu:
  target/s390x: Remove KVM stubs in cpu_models.h
  tests/unit: Remove debug statements in test-nested-aio-poll.c
  docs/devel: fix minor typo in submitting-a-patch.rst
  hw/s390x: Include missing 'cpu.h' header
  ci: move external build environment setups to CentOS Stream 9
  tests: Update our CI to use CentOS Stream 9 instead of 8
  tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update
  tests/lcitool/libvirt-ci: Update to the latest master branch
  tests: Remove Ubuntu 20.04 container
  .travis.yml: Do some more testing with Clang
  .travis.yml: Update the jobs to Ubuntu 22.04
  .travis.yml: Remove the unused UNRELIABLE environment variable
  Revert ".travis.yml: Cache Avocado cache"
  tests/vm: update openbsd image to 7.5
  docs: i386: pc: Update maximum CPU numbers for PC Q35
  tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint`
  MAINTAINERS: update email of Peter Lieven

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Apr 24, 2024
2 parents 88daa11 + 8f29bab commit 0ac9dc9
Show file tree
Hide file tree
Showing 47 changed files with 259 additions and 468 deletions.
16 changes: 8 additions & 8 deletions .gitlab-ci.d/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ build-system-centos:
- .native_build_job_template
- .native_build_artifact_template
needs:
job: amd64-centos8-container
job: amd64-centos9-container
variables:
IMAGE: centos8
IMAGE: centos9
CONFIGURE_ARGS: --disable-nettle --enable-gcrypt --enable-vfio-user-server
--enable-modules --enable-trace-backends=dtrace --enable-docs
TARGETS: ppc64-softmmu or1k-softmmu s390x-softmmu
Expand Down Expand Up @@ -242,7 +242,7 @@ check-system-centos:
- job: build-system-centos
artifacts: true
variables:
IMAGE: centos8
IMAGE: centos9
MAKE_CHECK_ARGS: check

avocado-system-centos:
Expand All @@ -251,7 +251,7 @@ avocado-system-centos:
- job: build-system-centos
artifacts: true
variables:
IMAGE: centos8
IMAGE: centos9
MAKE_CHECK_ARGS: check-avocado
AVOCADO_TAGS: arch:ppc64 arch:or1k arch:s390x arch:x86_64 arch:rx
arch:sh4 arch:nios2
Expand Down Expand Up @@ -327,9 +327,9 @@ avocado-system-flaky:
build-tcg-disabled:
extends: .native_build_job_template
needs:
job: amd64-centos8-container
job: amd64-centos9-container
variables:
IMAGE: centos8
IMAGE: centos9
script:
- mkdir build
- cd build
Expand Down Expand Up @@ -651,9 +651,9 @@ build-tci:
build-without-defaults:
extends: .native_build_job_template
needs:
job: amd64-centos8-container
job: amd64-centos9-container
variables:
IMAGE: centos8
IMAGE: centos9
CONFIGURE_ARGS:
--without-default-devices
--without-default-features
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.d/container-core.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include:
- local: '/.gitlab-ci.d/container-template.yml'

amd64-centos8-container:
amd64-centos9-container:
extends: .container_job_template
variables:
NAME: centos8
NAME: centos9

amd64-fedora-container:
extends: .container_job_template
Expand Down
24 changes: 7 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
os: linux
dist: focal
dist: jammy
language: c
compiler:
- gcc
cache:
# There is one cache per branch and compiler version.
# characteristics of each job are used to identify the cache:
# - OS name (currently only linux)
# - OS distribution (for Linux, bionic or focal)
# - OS distribution (e.g. "jammy" for Linux)
# - Names and values of visible environment variables set in .travis.yml or Settings panel
timeout: 1200
ccache: true
pip: true
directories:
- $HOME/avocado/data/cache


# The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
Expand Down Expand Up @@ -83,7 +81,6 @@ jobs:

- name: "[aarch64] GCC check-tcg"
arch: arm64
dist: focal
addons:
apt_packages:
- libaio-dev
Expand Down Expand Up @@ -115,11 +112,10 @@ jobs:
- TEST_CMD="make check check-tcg V=1"
- CONFIG="--disable-containers --enable-fdt=system
--target-list=${MAIN_SYSTEM_TARGETS} --cxx=/bin/false"
- UNRELIABLE=true

- name: "[ppc64] GCC check-tcg"
- name: "[ppc64] Clang check-tcg"
arch: ppc64le
dist: focal
compiler: clang
addons:
apt_packages:
- libaio-dev
Expand Down Expand Up @@ -154,7 +150,6 @@ jobs:

- name: "[s390x] GCC check-tcg"
arch: s390x
dist: focal
addons:
apt_packages:
- libaio-dev
Expand Down Expand Up @@ -186,7 +181,6 @@ jobs:
- TEST_CMD="make check check-tcg V=1"
- CONFIG="--disable-containers
--target-list=hppa-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu"
- UNRELIABLE=true
script:
- BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
- |
Expand All @@ -197,9 +191,9 @@ jobs:
$(exit $BUILD_RC);
fi
- name: "[s390x] GCC (other-system)"
- name: "[s390x] Clang (other-system)"
arch: s390x
dist: focal
compiler: clang
addons:
apt_packages:
- libaio-dev
Expand Down Expand Up @@ -229,7 +223,6 @@ jobs:

- name: "[s390x] GCC (user)"
arch: s390x
dist: focal
addons:
apt_packages:
- libgcrypt20-dev
Expand All @@ -244,8 +237,7 @@ jobs:

- name: "[s390x] Clang (disable-tcg)"
arch: s390x
dist: focal
compiler: clang-10
compiler: clang
addons:
apt_packages:
- libaio-dev
Expand All @@ -271,9 +263,7 @@ jobs:
- libvdeplug-dev
- libvte-2.91-dev
- ninja-build
- clang-10
env:
- TEST_CMD="make check-unit"
- CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools
--enable-fdt=system --host-cc=clang --cxx=clang++"
- UNRELIABLE=true
6 changes: 3 additions & 3 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3818,7 +3818,7 @@ F: block/vmdk.c

RBD
M: Ilya Dryomov <idryomov@gmail.com>
R: Peter Lieven <pl@kamp.de>
R: Peter Lieven <pl@dlhnet.de>
L: qemu-block@nongnu.org
S: Supported
F: block/rbd.c
Expand All @@ -3844,7 +3844,7 @@ F: block/blkio.c
iSCSI
M: Ronnie Sahlberg <ronniesahlberg@gmail.com>
M: Paolo Bonzini <pbonzini@redhat.com>
M: Peter Lieven <pl@kamp.de>
M: Peter Lieven <pl@dlhnet.de>
L: qemu-block@nongnu.org
S: Odd Fixes
F: block/iscsi.c
Expand All @@ -3867,7 +3867,7 @@ T: git https://repo.or.cz/qemu/ericb.git nbd
T: git https://gitlab.com/vsementsov/qemu.git block

NFS
M: Peter Lieven <pl@kamp.de>
M: Peter Lieven <pl@dlhnet.de>
L: qemu-block@nongnu.org
S: Maintained
F: block/nfs.c
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/submitting-a-patch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ add an additional line with "Fixes: <at-least-12-digits-of-SHA-commit-id>

If your patch fixes a bug in the gitlab bug tracker, please add a line
with "Resolves: <URL-of-the-bug>" to the commit message, too. Gitlab can
close bugs automatically once commits with the "Resolved:" keyword get
close bugs automatically once commits with the "Resolves:" keyword get
merged into the master branch of the project. And if your patch addresses
a bug in another public bug tracker, you can also use a line with
"Buglink: <URL-of-the-bug>" for reference here, too.
Expand Down
2 changes: 1 addition & 1 deletion docs/system/target-i386-desc.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The QEMU PC System emulator simulates the following peripherals:
- PCI UHCI, OHCI, EHCI or XHCI USB controller and a virtual USB-1.1
hub.

SMP is supported with up to 255 CPUs.
SMP is supported with up to 255 CPUs (and 4096 CPUs for PC Q35 machine).

QEMU uses the PC BIOS from the Seabios project and the Plex86/Bochs LGPL
VGA BIOS.
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-stattrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "exec/ram_addr.h"
#include "qapi/error.h"
#include "qapi/qmp/qdict.h"
#include "cpu.h"

/* 512KiB cover 2GB of guest memory */
#define CMMA_BLOCK_SIZE (512 * KiB)
Expand Down
2 changes: 2 additions & 0 deletions hw/s390x/s390-virtio-hcall.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
#define HW_S390_VIRTIO_HCALL_H

#include "standard-headers/asm-s390/virtio-ccw.h"
#include "cpu.h"

/* The only thing that we need from the old kvm_virtio.h file */
#define KVM_S390_VIRTIO_NOTIFY 0

typedef int (*s390_virtio_fn)(const uint64_t *args);
void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn);
int s390_virtio_hypercall(CPUS390XState *env);

#endif /* HW_S390_VIRTIO_HCALL_H */
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@
- name: Installation of extra packages to build QEMU
hosts: all
tasks:
- name: Extra check for CentOS Stream 8
- name: Extra check for CentOS Stream 9
lineinfile:
path: /etc/redhat-release
line: CentOS Stream release 8
line: CentOS Stream release 9
state: present
check_mode: yes
register: centos_stream_8
register: centos_stream_9

- name: Enable EPEL repo on CentOS Stream 8
- name: Enable EPEL repo on CentOS Stream 9
dnf:
name:
- epel-release
state: present
when:
- centos_stream_8
- centos_stream_9

- name: Enable PowerTools repo on CentOS Stream 8
- name: Enable CRB repo on CentOS Stream 9
ini_file:
path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
section: powertools
path: /etc/yum.repos.d/centos.repo
section: crb
option: enabled
value: "1"
when:
- centos_stream_8
- centos_stream_9

- name: Install basic packages to build QEMU on CentOS Stream 8
- name: Install basic packages to build QEMU on CentOS Stream 9
dnf:
name:
- bzip2
Expand All @@ -42,7 +42,6 @@
- gettext
- git
- glib2-devel
- glusterfs-api-devel
- gnutls-devel
- libaio-devel
- libcap-ng-devel
Expand All @@ -61,22 +60,24 @@
- lzo-devel
- make
- mesa-libEGL-devel
- meson
- nettle-devel
- ninja-build
- nmap-ncat
- numactl-devel
- pixman-devel
- python38
- python3
- python3-pip
- python3-sphinx
- python3-sphinx_rtd_theme
- python3-tomli
- rdma-core-devel
- redhat-rpm-config
- snappy-devel
- spice-glib-devel
- spice-server-devel
- systemd-devel
- systemtap-sdt-devel
- tar
- zlib-devel
state: present
when:
- centos_stream_8
- centos_stream_9
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# that patches adding downstream specific devices are not available.
#
../configure \
--python=/usr/bin/python3.8 \
--python=/usr/bin/python3.9 \
--prefix="/usr" \
--libdir="/usr/lib64" \
--datadir="/usr/share" \
Expand Down Expand Up @@ -157,7 +157,6 @@
--enable-docs \
--enable-fdt \
--enable-gcrypt \
--enable-glusterfs \
--enable-gnutls \
--enable-guest-agent \
--enable-iconv \
Expand All @@ -180,7 +179,6 @@
--enable-seccomp \
--enable-snappy \
--enable-smartcard \
--enable-spice \
--enable-system \
--enable-tcg \
--enable-tools \
Expand Down

0 comments on commit 0ac9dc9

Please sign in to comment.