Skip to content

Commit 8d8c0b0

Browse files
committed
Merge tag 'v10.2.0' into ot-10.2.0
v10.2.0 release
2 parents 13e5cb4 + 6981047 commit 8d8c0b0

File tree

2,292 files changed

+92820
-43478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,292 files changed

+92820
-43478
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ indent_size = 4
5555
emacs_mode = perl
5656

5757
# but user kernel "style" for imported scripts
58-
[scripts/{kernel-doc,get_maintainer.pl,checkpatch.pl}]
58+
[scripts/{get_maintainer.pl,checkpatch.pl}]
5959
indent_style = tab
6060
indent_size = 8
6161
emacs_mode = perl

.gitlab-ci.d/base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ variables:
4545
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_TAG'
4646
when: never
4747

48-
# Scheduled runs on mainline don't get pipelines except for the special Coverity job
49-
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_PIPELINE_SOURCE == "schedule"'
48+
# Scheduled jobs should explicitly enable the run in their job rules
49+
- if: '$CI_PIPELINE_SOURCE == "schedule"'
5050
when: never
5151

5252
# Cirrus jobs can't run unless the creds / target repo are set

.gitlab-ci.d/buildtest-template.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,18 @@
8383

8484
.native_test_job_template:
8585
extends: .common_test_job_template
86+
before_script:
87+
# Prevent logs from the build job that run earlier
88+
# from being duplicated in the test job artifacts
89+
- rm -f build/meson-logs/*
8690
artifacts:
8791
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
8892
when: always
8993
expire_in: 7 days
9094
paths:
91-
- build/meson-logs/testlog.txt
95+
- build/meson-logs
9296
reports:
93-
junit: build/meson-logs/testlog.junit.xml
97+
junit: build/meson-logs/*.junit.xml
9498

9599
.functional_test_job_template:
96100
extends: .common_test_job_template
@@ -104,14 +108,16 @@
104108
when: always
105109
expire_in: 7 days
106110
paths:
107-
- build/tests/results/latest/results.xml
108-
- build/tests/results/latest/test-results
111+
- build/meson-logs
109112
- build/tests/functional/*/*/*.log
110113
reports:
111-
junit: build/tests/results/latest/results.xml
114+
junit: build/meson-logs/*.junit.xml
112115
before_script:
113116
- export QEMU_TEST_ALLOW_UNTRUSTED_CODE=1
114117
- export QEMU_TEST_CACHE_DIR=${CI_PROJECT_DIR}/functional-cache
118+
# Prevent logs from the build job that run earlier
119+
# from being duplicated in the test job artifacts
120+
- rm -f build/meson-logs/*
115121
after_script:
116122
- cd build
117123
- du -chs ${CI_PROJECT_DIR}/*-cache

.gitlab-ci.d/buildtest.yml

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ build-system-ubuntu:
3636
- .native_build_job_template
3737
- .native_build_artifact_template
3838
needs:
39-
job: amd64-ubuntu2204-container
39+
- job: amd64-ubuntu2204-container
4040
variables:
4141
IMAGE: ubuntu2204
4242
CONFIGURE_ARGS: --enable-docs --enable-rust
4343
TARGETS: alpha-softmmu microblazeel-softmmu mips64el-softmmu
44-
MAKE_CHECK_ARGS: check-build check-doc
44+
MAKE_CHECK_ARGS: check-build
4545

4646
check-system-ubuntu:
4747
extends: .native_test_job_template
@@ -66,7 +66,7 @@ build-system-debian:
6666
- .native_build_job_template
6767
- .native_build_artifact_template
6868
needs:
69-
job: amd64-debian-container
69+
- job: amd64-debian-container
7070
variables:
7171
IMAGE: debian
7272
CONFIGURE_ARGS: --with-coroutine=sigaltstack --enable-rust
@@ -109,7 +109,7 @@ build-system-fedora:
109109
- .native_build_job_template
110110
- .native_build_artifact_template
111111
needs:
112-
job: amd64-fedora-container
112+
- job: amd64-fedora-container
113113
variables:
114114
IMAGE: fedora
115115
CONFIGURE_ARGS: --disable-gcrypt --enable-nettle --enable-docs --enable-crypto-afalg --enable-rust
@@ -122,7 +122,7 @@ build-system-fedora-rust-nightly:
122122
- .native_build_job_template
123123
- .native_build_artifact_template
124124
needs:
125-
job: amd64-fedora-rust-nightly-container
125+
- job: amd64-fedora-rust-nightly-container
126126
variables:
127127
IMAGE: fedora-rust-nightly
128128
CONFIGURE_ARGS: --disable-docs --enable-rust --enable-strict-rust-lints
@@ -167,7 +167,7 @@ build-system-centos:
167167
- .native_build_job_template
168168
- .native_build_artifact_template
169169
needs:
170-
job: amd64-centos9-container
170+
- job: amd64-centos9-container
171171
variables:
172172
IMAGE: centos9
173173
CONFIGURE_ARGS: --disable-nettle --enable-gcrypt --enable-vfio-user-server
@@ -189,7 +189,7 @@ build-previous-qemu:
189189
- build-previous/tests/qtest/migration-test
190190
- build-previous/scripts
191191
needs:
192-
job: amd64-opensuse-leap-container
192+
- job: amd64-opensuse-leap-container
193193
variables:
194194
IMAGE: opensuse-leap
195195
TARGETS: x86_64-softmmu aarch64-softmmu
@@ -274,7 +274,7 @@ build-system-opensuse:
274274
- .native_build_job_template
275275
- .native_build_artifact_template
276276
needs:
277-
job: amd64-opensuse-leap-container
277+
- job: amd64-opensuse-leap-container
278278
variables:
279279
IMAGE: opensuse-leap
280280
TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
@@ -308,7 +308,7 @@ build-system-flaky:
308308
- .native_build_job_template
309309
- .native_build_artifact_template
310310
needs:
311-
job: amd64-debian-container
311+
- job: amd64-debian-container
312312
variables:
313313
IMAGE: debian
314314
QEMU_JOB_OPTIONAL: 1
@@ -338,7 +338,7 @@ functional-system-flaky:
338338
build-tcg-disabled:
339339
extends: .native_build_job_template
340340
needs:
341-
job: amd64-centos9-container
341+
- job: amd64-centos9-container
342342
variables:
343343
IMAGE: centos9
344344
script:
@@ -364,7 +364,7 @@ build-tcg-disabled:
364364
build-user:
365365
extends: .native_build_job_template
366366
needs:
367-
job: amd64-debian-user-cross-container
367+
- job: amd64-debian-user-cross-container
368368
variables:
369369
IMAGE: debian-all-test-cross
370370
CONFIGURE_ARGS: --disable-tools --disable-system
@@ -374,7 +374,7 @@ build-user:
374374
build-user-static:
375375
extends: .native_build_job_template
376376
needs:
377-
job: amd64-debian-user-cross-container
377+
- job: amd64-debian-user-cross-container
378378
variables:
379379
IMAGE: debian-all-test-cross
380380
CONFIGURE_ARGS: --disable-tools --disable-system --static
@@ -385,7 +385,7 @@ build-user-static:
385385
build-legacy:
386386
extends: .native_build_job_template
387387
needs:
388-
job: amd64-debian-legacy-cross-container
388+
- job: amd64-debian-legacy-cross-container
389389
variables:
390390
IMAGE: debian-legacy-test-cross
391391
TARGETS: alpha-linux-user alpha-softmmu sh4-linux-user
@@ -395,7 +395,7 @@ build-legacy:
395395
build-user-hexagon:
396396
extends: .native_build_job_template
397397
needs:
398-
job: hexagon-cross-container
398+
- job: hexagon-cross-container
399399
variables:
400400
IMAGE: debian-hexagon-cross
401401
TARGETS: hexagon-linux-user
@@ -408,7 +408,7 @@ build-user-hexagon:
408408
build-some-softmmu:
409409
extends: .native_build_job_template
410410
needs:
411-
job: amd64-debian-user-cross-container
411+
- job: amd64-debian-user-cross-container
412412
variables:
413413
IMAGE: debian-all-test-cross
414414
CONFIGURE_ARGS: --disable-tools --enable-debug
@@ -419,7 +419,7 @@ build-some-softmmu:
419419
build-loongarch64:
420420
extends: .native_build_job_template
421421
needs:
422-
job: loongarch-debian-cross-container
422+
- job: loongarch-debian-cross-container
423423
variables:
424424
IMAGE: debian-loongarch-cross
425425
CONFIGURE_ARGS: --disable-tools --enable-debug
@@ -430,7 +430,7 @@ build-loongarch64:
430430
build-tricore-softmmu:
431431
extends: .native_build_job_template
432432
needs:
433-
job: tricore-debian-cross-container
433+
- job: tricore-debian-cross-container
434434
variables:
435435
IMAGE: debian-tricore-cross
436436
CONFIGURE_ARGS: --disable-tools --disable-fdt --enable-debug
@@ -440,7 +440,7 @@ build-tricore-softmmu:
440440
clang-system:
441441
extends: .native_build_job_template
442442
needs:
443-
job: amd64-fedora-container
443+
- job: amd64-fedora-container
444444
variables:
445445
IMAGE: fedora
446446
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-ubsan
@@ -451,7 +451,7 @@ clang-system:
451451
clang-user:
452452
extends: .native_build_job_template
453453
needs:
454-
job: amd64-debian-user-cross-container
454+
- job: amd64-debian-user-cross-container
455455
timeout: 70m
456456
variables:
457457
IMAGE: debian-all-test-cross
@@ -479,7 +479,7 @@ build-cfi-aarch64:
479479
LD_JOBS: 1
480480
AR: llvm-ar
481481
IMAGE: fedora
482-
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug
482+
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi
483483
--enable-safe-stack --disable-slirp
484484
TARGETS: aarch64-softmmu
485485
MAKE_CHECK_ARGS: check-build
@@ -517,7 +517,7 @@ build-cfi-ppc64-s390x:
517517
LD_JOBS: 1
518518
AR: llvm-ar
519519
IMAGE: fedora
520-
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug
520+
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi
521521
--enable-safe-stack --disable-slirp
522522
TARGETS: ppc64-softmmu s390x-softmmu
523523
MAKE_CHECK_ARGS: check-build
@@ -555,7 +555,7 @@ build-cfi-x86_64:
555555
LD_JOBS: 1
556556
AR: llvm-ar
557557
IMAGE: fedora
558-
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug
558+
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi
559559
--enable-safe-stack --disable-slirp
560560
TARGETS: x86_64-softmmu
561561
MAKE_CHECK_ARGS: check-build
@@ -582,7 +582,7 @@ functional-cfi-x86_64:
582582
tsan-build:
583583
extends: .native_build_job_template
584584
needs:
585-
job: amd64-ubuntu2204-container
585+
- job: amd64-ubuntu2204-container
586586
variables:
587587
IMAGE: ubuntu2204
588588
CONFIGURE_ARGS: --enable-tsan --cc=clang --cxx=clang++
@@ -596,7 +596,7 @@ tsan-build:
596596
gcov:
597597
extends: .native_build_job_template
598598
needs:
599-
job: amd64-ubuntu2204-container
599+
- job: amd64-ubuntu2204-container
600600
timeout: 80m
601601
variables:
602602
IMAGE: ubuntu2204
@@ -613,17 +613,17 @@ gcov:
613613
when: always
614614
expire_in: 2 days
615615
paths:
616-
- build/meson-logs/testlog.txt
616+
- build/meson-logs
617617
reports:
618-
junit: build/meson-logs/testlog.junit.xml
618+
junit: build/meson-logs/*.junit.xml
619619
coverage_report:
620620
coverage_format: cobertura
621621
path: build/coverage.xml
622622

623623
build-oss-fuzz:
624624
extends: .native_build_job_template
625625
needs:
626-
job: amd64-fedora-container
626+
- job: amd64-fedora-container
627627
variables:
628628
IMAGE: fedora
629629
script:
@@ -645,7 +645,7 @@ build-oss-fuzz:
645645
build-tci:
646646
extends: .native_build_job_template
647647
needs:
648-
job: amd64-debian-user-cross-container
648+
- job: amd64-debian-user-cross-container
649649
variables:
650650
IMAGE: debian-all-test-cross
651651
script:
@@ -656,21 +656,19 @@ build-tci:
656656
--target-list="$(for tg in $TARGETS; do echo -n ${tg}'-softmmu '; done)"
657657
|| { cat config.log meson-logs/meson-log.txt && exit 1; }
658658
- make -j"$JOBS"
659-
- make tests/qtest/boot-serial-test tests/qtest/cdrom-test tests/qtest/pxe-test
659+
- make tests/qtest/boot-serial-test tests/qtest/cdrom-test
660660
- for tg in $TARGETS ; do
661661
export QTEST_QEMU_BINARY="./qemu-system-${tg}" ;
662662
./tests/qtest/boot-serial-test || exit 1 ;
663663
./tests/qtest/cdrom-test || exit 1 ;
664664
done
665-
- QTEST_QEMU_BINARY="./qemu-system-x86_64" ./tests/qtest/pxe-test
666-
- QTEST_QEMU_BINARY="./qemu-system-s390x" ./tests/qtest/pxe-test -m slow
667665
- make check-tcg
668666

669667
# Check our reduced build configurations
670668
build-without-defaults:
671669
extends: .native_build_job_template
672670
needs:
673-
job: amd64-centos9-container
671+
- job: amd64-centos9-container
674672
variables:
675673
IMAGE: centos9
676674
CONFIGURE_ARGS:
@@ -688,7 +686,7 @@ build-libvhost-user:
688686
stage: build
689687
image: $CI_REGISTRY_IMAGE/qemu/fedora:$QEMU_CI_CONTAINER_TAG
690688
needs:
691-
job: amd64-fedora-container
689+
- job: amd64-fedora-container
692690
script:
693691
- mkdir subprojects/libvhost-user/build
694692
- cd subprojects/libvhost-user/build
@@ -702,9 +700,9 @@ build-tools-and-docs-debian:
702700
- .native_build_job_template
703701
- .native_build_artifact_template
704702
needs:
705-
job: amd64-debian-container
706-
# when running on 'master' we use pre-existing container
707-
optional: true
703+
- job: amd64-debian-container
704+
# when running on 'master' we use pre-existing container
705+
optional: true
708706
variables:
709707
IMAGE: debian
710708
MAKE_CHECK_ARGS: check-unit ctags TAGS cscope
@@ -736,7 +734,7 @@ pages:
736734
- make gtags
737735
# We unset variables to work around a bug in some htags versions
738736
# which causes it to fail when the environment is large
739-
- CI_COMMIT_MESSAGE= CI_COMMIT_TAG_MESSAGE= htags
737+
- CI_COMMIT_MESSAGE= CI_COMMIT_TAG_MESSAGE= CI_COMMIT_DESCRIPTION= htags
740738
-anT --tree-view=filetree -m qemu_init
741739
-t "Welcome to the QEMU sourcecode"
742740
- mv HTML public/src
@@ -759,7 +757,7 @@ coverity:
759757
- job: amd64-fedora-container
760758
optional: true
761759
before_script:
762-
- dnf install -y curl wget
760+
- dnf install -y curl wget file
763761
script:
764762
# would be nice to cancel the job if over quota (https://gitlab.com/gitlab-org/gitlab/-/issues/256089)
765763
# for example:
@@ -791,7 +789,7 @@ build-wasm:
791789
extends: .wasm_build_job_template
792790
timeout: 2h
793791
needs:
794-
job: wasm-emsdk-cross-container
792+
- job: wasm-emsdk-cross-container
795793
variables:
796794
IMAGE: emsdk-wasm32-cross
797795
CONFIGURE_ARGS: --static --disable-tools --enable-debug --enable-tcg-interpreter

.gitlab-ci.d/cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ x64-freebsd-14-build:
3737
NAME: freebsd-14
3838
CIRRUS_VM_INSTANCE_TYPE: freebsd_instance
3939
CIRRUS_VM_IMAGE_SELECTOR: image_family
40-
CIRRUS_VM_IMAGE_NAME: freebsd-14-2
40+
CIRRUS_VM_IMAGE_NAME: freebsd-14-3
4141
CIRRUS_VM_CPUS: 8
4242
CIRRUS_VM_RAM: 8G
4343
UPDATE_COMMAND: pkg update; pkg upgrade -y
4444
INSTALL_COMMAND: pkg install -y
45-
CONFIGURE_ARGS: --target-list-exclude=arm-softmmu,i386-softmmu,microblaze-softmmu,mips64el-softmmu,mipsel-softmmu,mips-softmmu,ppc-softmmu,sh4eb-softmmu,xtensa-softmmu
45+
CONFIGURE_ARGS: --target-list-exclude=arm-softmmu,i386-softmmu,microblaze-softmmu,mips64el-softmmu,mipsel-softmmu,mips-softmmu,ppc-softmmu,sh4eb-softmmu,xtensa-softmmu --enable-rust
4646
TEST_TARGETS: check
4747

4848
aarch64-macos-build:

.gitlab-ci.d/cirrus/freebsd-14.vars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ MAKE='/usr/local/bin/gmake'
1111
NINJA='/usr/local/bin/ninja'
1212
PACKAGING_COMMAND='pkg'
1313
PIP3='/usr/local/bin/pip'
14-
PKGS='alsa-lib bash bison bzip2 ca_root_nss capstone4 ccache4 cmocka ctags curl cyrus-sasl dbus diffutils dtc flex fusefs-libs3 gettext git glib gmake gnutls gsed gtk-vnc gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libslirp libspice-server libssh libtasn1 llvm lzo2 meson mtools ncurses nettle ninja opencv pixman pkgconf png py311-numpy py311-pillow py311-pip py311-pyyaml py311-sphinx py311-sphinx_rtd_theme py311-tomli python3 rpm2cpio rust rust-bindgen-cli sdl2 sdl2_image snappy sndio socat spice-protocol tesseract usbredir virglrenderer vte3 vulkan-tools xorriso zstd'
14+
PKGS='alsa-lib bash bison bzip2 ca_root_nss capstone4 ccache4 cmocka coreutils ctags curl cyrus-sasl dbus diffutils dtc flex fusefs-libs3 gettext git glib gmake gnutls gsed gtk-vnc gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libslirp libspice-server libssh libtasn1 llvm lzo2 meson mtools ncurses nettle ninja opencv pixman pkgconf png py311-numpy py311-pillow py311-pip py311-pyyaml py311-sphinx py311-sphinx_rtd_theme py311-tomli python3 rpm2cpio rust rust-bindgen-cli sdl2 sdl2_image snappy sndio socat spice-protocol tesseract usbredir virglrenderer vte3 vulkan-tools xorriso zstd'
1515
PYPI_PKGS=''
1616
PYTHON='/usr/local/bin/python3'

0 commit comments

Comments
 (0)