Skip to content

Commit 3e13e0e

Browse files
conflicts
2 parents 5d7c4be + c79f01c commit 3e13e0e

File tree

325 files changed

+29414
-1872
lines changed

Some content is hidden

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

325 files changed

+29414
-1872
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.c.inc diff=c
22
*.h.inc diff=c
3+
*.py diff=python

.gitlab-ci.yml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ build-system-centos:
222222
variables:
223223
IMAGE: centos8
224224
CONFIGURE_ARGS: --disable-nettle --enable-gcrypt --enable-fdt=system
225+
--enable-modules
225226
TARGETS: ppc64-softmmu or1k-softmmu s390x-softmmu
226227
x86_64-softmmu rx-softmmu sh4-softmmu nios2-softmmu
227228
MAKE_CHECK_ARGS: check-build
@@ -402,7 +403,7 @@ build-some-softmmu:
402403
<<: *native_build_job_definition
403404
variables:
404405
IMAGE: debian-all-test-cross
405-
CONFIGURE_ARGS: --disable-tools --enable-debug-tcg
406+
CONFIGURE_ARGS: --disable-tools --enable-debug
406407
TARGETS: xtensa-softmmu arm-softmmu aarch64-softmmu alpha-softmmu
407408
MAKE_CHECK_ARGS: check-tcg
408409

@@ -432,14 +433,33 @@ build-some-softmmu-plugins:
432433
TARGETS: xtensa-softmmu arm-softmmu aarch64-softmmu alpha-softmmu
433434
MAKE_CHECK_ARGS: check-tcg
434435

435-
build-clang:
436+
clang-system:
436437
<<: *native_build_job_definition
437438
variables:
438439
IMAGE: fedora
439440
CONFIGURE_ARGS: --cc=clang --cxx=clang++
441+
--extra-cflags=-fsanitize=undefined --extra-cflags=-fno-sanitize-recover=undefined
440442
TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu
441-
ppc-softmmu s390x-softmmu arm-linux-user
442-
MAKE_CHECK_ARGS: check
443+
ppc-softmmu s390x-softmmu
444+
MAKE_CHECK_ARGS: check-qtest check-tcg
445+
446+
clang-user:
447+
<<: *native_build_job_definition
448+
variables:
449+
IMAGE: debian-all-test-cross
450+
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --disable-system
451+
--target-list-exclude=microblazeel-linux-user,aarch64_be-linux-user,i386-linux-user,m68k-linux-user,mipsn32el-linux-user,xtensaeb-linux-user
452+
--extra-cflags=-fsanitize=undefined --extra-cflags=-fno-sanitize-recover=undefined
453+
MAKE_CHECK_ARGS: check-unit check-tcg
454+
455+
tsan-build:
456+
<<: *native_build_job_definition
457+
variables:
458+
IMAGE: ubuntu2004
459+
CONFIGURE_ARGS: --enable-tsan --cc=clang-10 --cxx=clang++-10 --disable-docs
460+
--enable-fdt=system --enable-slirp=system
461+
TARGETS: x86_64-softmmu ppc64-softmmu riscv64-softmmu x86_64-linux-user
462+
MAKE_CHECK_ARGS: bench V=1
443463

444464
# These targets are on the way out
445465
build-deprecated:
@@ -467,6 +487,18 @@ check-deprecated:
467487
MAKE_CHECK_ARGS: check-tcg
468488
allow_failure: true
469489

490+
# gprof/gcov are GCC features
491+
gprof-gcov:
492+
<<: *native_build_job_definition
493+
variables:
494+
IMAGE: ubuntu2004
495+
CONFIGURE_ARGS: --enable-gprof --enable-gcov
496+
MAKE_CHECK_ARGS: check
497+
TARGETS: aarch64-softmmu ppc64-softmmu s390x-softmmu x86_64-softmmu
498+
timeout: 70m
499+
after_script:
500+
- ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh
501+
470502
build-oss-fuzz:
471503
<<: *native_build_job_definition
472504
variables:

.shippable.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ addons:
5252
- ninja-build
5353
- sparse
5454
- uuid-dev
55-
- gcovr
5655
# Tests dependencies
5756
- genisoimage
5857

@@ -119,116 +118,6 @@ after_script:
119118

120119
jobs:
121120
include:
122-
# --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
123-
- name: "GCC debug (main-softmmu)"
124-
env:
125-
- CONFIG="--enable-debug --target-list=${MAIN_SOFTMMU_TARGETS}"
126-
- CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug"
127-
128-
129-
# TCG debug can be run just on its own and is mostly agnostic to user/softmmu distinctions
130-
- name: "GCC debug (user)"
131-
env:
132-
- CONFIG="--enable-debug-tcg --disable-system"
133-
- CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg"
134-
135-
# Module builds are mostly of interest to major distros
136-
- name: "GCC modules (main-softmmu)"
137-
env:
138-
- CONFIG="--enable-modules --target-list=${MAIN_SOFTMMU_TARGETS}"
139-
- CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
140-
141-
142-
# Test with Clang for compile portability (Travis uses clang-5.0)
143-
- name: "Clang (user)"
144-
env:
145-
- CONFIG="--disable-system --host-cc=clang --cxx=clang++"
146-
- CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default"
147-
compiler: clang
148-
149-
150-
- name: "Clang (main-softmmu)"
151-
env:
152-
- CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS}
153-
--host-cc=clang --cxx=clang++"
154-
- CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize"
155-
compiler: clang
156-
before_script:
157-
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
158-
- ${SRC_DIR}/configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log meson-logs/meson-log.txt && exit 1; }
159-
160-
161-
- name: "Clang (other-softmmu)"
162-
env:
163-
- CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}
164-
--host-cc=clang --cxx=clang++"
165-
- CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default"
166-
compiler: clang
167-
168-
169-
# gprof/gcov are GCC features
170-
- name: "GCC gprof/gcov"
171-
dist: bionic
172-
addons:
173-
apt:
174-
packages:
175-
- ninja-build
176-
env:
177-
- CONFIG="--enable-gprof --enable-gcov --disable-libssh
178-
--target-list=${MAIN_SOFTMMU_TARGETS}"
179-
after_success:
180-
- ${SRC_DIR}/scripts/travis/coverage-summary.sh
181-
182-
183-
# Using newer GCC with sanitizers
184-
- name: "GCC9 with sanitizers (softmmu)"
185-
dist: bionic
186-
addons:
187-
apt:
188-
update: true
189-
sources:
190-
# PPAs for newer toolchains
191-
- ubuntu-toolchain-r-test
192-
packages:
193-
# Extra toolchains
194-
- gcc-9
195-
- g++-9
196-
# Build dependencies
197-
- libaio-dev
198-
- libattr1-dev
199-
- libbrlapi-dev
200-
- libcap-ng-dev
201-
- libgnutls28-dev
202-
- libgtk-3-dev
203-
- libiscsi-dev
204-
- liblttng-ust-dev
205-
- libnfs-dev
206-
- libncurses5-dev
207-
- libnss3-dev
208-
- libpixman-1-dev
209-
- libpng-dev
210-
- librados-dev
211-
- libsdl2-dev
212-
- libsdl2-image-dev
213-
- libseccomp-dev
214-
- libspice-protocol-dev
215-
- libspice-server-dev
216-
- liburcu-dev
217-
- libusb-1.0-0-dev
218-
- libvte-2.91-dev
219-
- ninja-build
220-
- sparse
221-
- uuid-dev
222-
language: generic
223-
compiler: none
224-
env:
225-
- COMPILER_NAME=gcc CXX=g++-9 CC=gcc-9
226-
- CONFIG="--cc=gcc-9 --cxx=g++-9 --disable-linux-user"
227-
- TEST_CMD=""
228-
before_script:
229-
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
230-
- ${SRC_DIR}/configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread" || { cat config.log meson-logs/meson-log.txt && exit 1; }
231-
232121

233122
- name: "[aarch64] GCC check-tcg"
234123
arch: arm64
@@ -261,7 +150,7 @@ jobs:
261150
- genisoimage
262151
env:
263152
- TEST_CMD="make check check-tcg V=1"
264-
- CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}"
153+
- CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS} --cxx=/bin/false"
265154
- UNRELIABLE=true
266155

267156
- name: "[ppc64] GCC check-tcg"

MAINTAINERS

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,15 @@ F: include/hw/cris/
188188
F: tests/tcg/cris/
189189
F: disas/cris.c
190190

191+
Hexagon TCG CPUs
192+
M: Taylor Simpson <[email protected]>
193+
S: Supported
194+
F: target/hexagon/
195+
F: linux-user/hexagon/
196+
F: tests/tcg/hexagon/
197+
F: disas/hexagon.c
198+
F: default-configs/targets/hexagon-linux-user.mak
199+
191200
HPPA (PA-RISC) TCG CPUs
192201
M: Richard Henderson <[email protected]>
193202
S: Maintained
@@ -1107,6 +1116,8 @@ F: hw/nubus/*
11071116
F: hw/display/macfb.c
11081117
F: hw/block/swim.c
11091118
F: hw/m68k/bootinfo.h
1119+
F: include/standard-headers/asm-m68k/bootinfo.h
1120+
F: include/standard-headers/asm-m68k/bootinfo-mac.h
11101121
F: include/hw/misc/mac_via.h
11111122
F: include/hw/nubus/*
11121123
F: include/hw/display/macfb.h
@@ -2338,6 +2349,7 @@ M: Alex Bennée <[email protected]>
23382349
R: Philippe Mathieu-Daudé <[email protected]>
23392350
S: Maintained
23402351
F: gdbstub*
2352+
F: include/exec/gdbstub.h
23412353
F: gdb-xml/
23422354
F: tests/tcg/multiarch/gdbstub/
23432355

@@ -2852,6 +2864,17 @@ F: pc-bios/opensbi-*
28522864
F: .gitlab-ci.d/opensbi.yml
28532865
F: .gitlab-ci.d/opensbi/
28542866

2867+
Clock framework
2868+
M: Luc Michel <[email protected]>
2869+
R: Damien Hedde <[email protected]>
2870+
S: Maintained
2871+
F: include/hw/clock.h
2872+
F: include/hw/qdev-clock.h
2873+
F: hw/core/clock.c
2874+
F: hw/core/clock-vmstate.c
2875+
F: hw/core/qdev-clock.c
2876+
F: docs/devel/clocks.rst
2877+
28552878
Usermode Emulation
28562879
------------------
28572880
Overall usermode emulation
@@ -2889,6 +2912,7 @@ S: Maintained
28892912
F: docs/devel/tcg-plugins.rst
28902913
F: plugins/
28912914
F: tests/plugin/
2915+
F: tests/acceptance/tcg_plugins.py
28922916
F: contrib/plugins/
28932917

28942918
AArch64 TCG target
@@ -3233,13 +3257,11 @@ R: Philippe Mathieu-Daudé <[email protected]>
32333257
S: Maintained
32343258
F: .github/lockdown.yml
32353259
F: .travis.yml
3236-
F: scripts/travis/
3237-
F: .shippable.yml
3260+
F: scripts/ci/
32383261
F: tests/docker/
32393262
F: tests/vm/
32403263
F: scripts/archive-source.sh
32413264
W: https://travis-ci.org/qemu/qemu
3242-
W: https://app.shippable.com/github/qemu/qemu
32433265
W: http://patchew.org/QEMU/
32443266

32453267
FreeBSD Hosted Continuous Integration

accel/kvm/kvm-all.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include "qemu/main-loop.h"
4040
#include "trace.h"
4141
#include "hw/irq.h"
42-
#include "sysemu/sev.h"
4342
#include "qapi/visitor.h"
4443
#include "qapi/qapi-types-common.h"
4544
#include "qapi/qapi-visit-common.h"
@@ -2313,6 +2312,11 @@ void kvm_flush_coalesced_mmio_buffer(void)
23132312
s->coalesced_flush_in_progress = false;
23142313
}
23152314

2315+
bool kvm_cpu_check_are_resettable(void)
2316+
{
2317+
return kvm_arch_cpu_check_are_resettable();
2318+
}
2319+
23162320
static void do_kvm_cpu_synchronize_state(CPUState *cpu, run_on_cpu_data arg)
23172321
{
23182322
if (!cpu->vcpu_dirty) {

0 commit comments

Comments
 (0)