/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - local: '/.gitlab-ci.d/buildtest-template.yml' 4 build-system-alpine: 6 - .native_build_job_template 7 - .native_build_artifact_template 9 - job: amd64-alpine-container 12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu 13 MAKE_CHECK_ARGS: check-build 14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog 16 check-system-alpine: 19 - job: build-system-alpine [all …]
|
/qemu/ |
H A D | .travis.yml | 5 - gcc 9 # - OS name (currently only linux) 10 # - OS distribution (e.g. "jammy" for Linux) 11 # - Names and values of visible environment variables set in .travis.yml or Settings panel 19 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu" 23 …- secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1K… 30 - SRC_DIR=".." 31 - BUILD_DIR="build" 32 - BASE_CONFIG="--disable-docs --disable-tools" 33 - TEST_BUILD_CMD="" [all …]
|
H A D | configure | 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 36 echo "your source directory, or try doing an out-of-tree build." 41 # This file is auto-generated by configure to support in-source tree 46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS) 48 test -e build/auto-created-by-configure ; \ [all …]
|
H A D | .patchew.yml | 1 --- 91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %} 115 --- 117 Please send your feedback to patchew-devel@redhat.com 126 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 127 docker-quick@centos8: 133 time make docker-test-quick@centos8 SHOW_ENV=1 J=14 NETWORK=1 140 git rev-parse base > /dev/null || exit 0 141 ./scripts/checkpatch.pl --mailback base.. 142 docker-mingw@fedora: [all …]
|
H A D | meson.build | 15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 35 tmpdir = meson.current_build_dir() / 'meson-private/temp' 66 have_linux_user = have_linux_user or target.endswith('linux-user') 67 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 68 have_system = have_system or target.endswith('-softmmu') 113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 120 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 128 '--rustc-version', rustc.version(), 129 '--workspace', meson.project_source_root() / 'rust'] [all …]
|
/qemu/tests/tcg/ppc64/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 7 config-cc.mak: Makefile 8 $(quiet-@)( \ 9 $(call cc-option,-mcpu=power8, CROSS_CC_HAS_CPU_POWER8); \ 10 $(call cc-option,-mpower10, CROSS_CC_HAS_POWER10)) 3> config-cc.mak 12 -include config-cc.mak 14 # multi-threaded tests are known to fail (e.g., clang-user CI job) 15 # See: https://gitlab.com/qemu-project/qemu/-/issues/2456 16 run-signals: signals 17 $(call skip-test, $<, "BROKEN (flaky with clang) ") [all …]
|
/qemu/tests/docker/dockerfiles/ |
H A D | alpine.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all alpine-321 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 12 alsa-lib-dev \ 13 attr-dev \ 18 bzip2-dev \ 19 ca-certificates \ 20 capstone-dev \ 22 ceph-dev \ 23 clang \ [all …]
|
H A D | centos9.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all centos-stream-9 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf distro-sync -y && \ 10 dnf install 'dnf-command(config-manager)' -y && \ 11 dnf config-manager --set-enabled -y crb && \ 12 dnf install -y epel-release && \ 13 dnf install -y epel-next-release && \ 14 dnf install -y \ 15 SDL2-devel \ [all …]
|
H A D | opensuse-leap.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all opensuse-leap-15 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN zypper update -y && \ 10 …zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE… 11 zypper install -y \ 12 Mesa-devel \ 13 alsa-lib-devel \ 17 brlapi-devel \ 19 ca-certificates \ [all …]
|
H A D | fedora.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all fedora-40 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf install -y nosync && \ 11 if test -d /usr/lib64\n\ 19 nosync dnf update -y && \ 20 nosync dnf install -y \ 21 SDL2-devel \ 22 SDL2_image-devel \ 23 alsa-lib-devel \ [all …]
|
H A D | ubuntu2204.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all ubuntu-2204 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 10 apt-get update && \ 11 apt-get install -y eatmydata && \ 12 eatmydata apt-get dist-upgrade -y && \ 13 eatmydata apt-get install --no-install-recommends -y \ 19 ca-certificates \ 21 clang \ 25 exuberant-ctags \ [all …]
|
H A D | debian.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all debian-12 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 7 FROM docker.io/library/debian:12-slim 10 apt-get update && \ 11 apt-get install -y eatmydata && \ 12 eatmydata apt-get dist-upgrade -y && \ 13 eatmydata apt-get install --no-install-recommends -y \ 20 ca-certificates \ 22 clang \ [all …]
|
H A D | fedora-rust-nightly.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all fedora-40 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf install -y nosync && \ 11 if test -d /usr/lib64\n\ 19 nosync dnf update -y && \ 20 nosync dnf install -y \ 21 SDL2-devel \ 22 SDL2_image-devel \ 23 alsa-lib-devel \ [all …]
|
H A D | debian-legacy-test-cross.docker | 1 # Docker legacy cross-compiler target (tests and minimal qemu) 6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412 7 # sh4-linux-user: binaries don't run with bookworm compiler 9 # As we are targeting check-tcg here we only need minimal qemu 12 FROM docker.io/library/debian:11-slim 14 # Duplicate deb line as deb-src 15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 18 apt-get update && \ 19 apt-get install -y eatmydata && \ 20 eatmydata apt-get dist-upgrade -y && \ [all …]
|
H A D | debian-loongarch-cross.docker | 2 # Docker cross-compiler target 5 # https://github.com/loongson/build-tools/releases 7 FROM docker.io/library/debian:11-slim 9 # Duplicate deb line as deb-src 10 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 13 apt-get update && \ 14 apt-get install -y eatmydata && \ 15 eatmydata apt-get dist-upgrade -y && \ 16 apt build-dep -yy qemu 18 RUN apt-get update && \ [all …]
|
H A D | debian-all-test-cross.docker | 2 # Docker all cross-compiler target (tests only) 7 # to build and run linux-user tests on GitLab 9 FROM docker.io/library/debian:12-slim 11 # Duplicate deb line as deb-src 12 RUN sed -in "s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/debian.sources 15 apt-get update && \ 16 apt-get install -y eatmydata && \ 17 eatmydata apt-get dist-upgrade -y && \ 18 apt build-dep -yy qemu 22 apt install -y --no-install-recommends \ [all …]
|
H A D | debian-hexagon-cross.docker | 2 # Docker Hexagon cross-compiler target 6 # build-deps. 8 FROM docker.io/library/debian:11-slim 10 # Duplicate deb line as deb-src 11 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 12 RUN apt-get update && \ 13 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 16 apt-get install -y --no-install-recommends \ 19 xz-utils \ 20 ca-certificates \ [all …]
|
/qemu/plugins/ |
H A D | meson.build | 6 input: files('../include/qemu/qemu-plugin.h'), 7 output: 'qemu-plugin.symbols', 9 command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@']) 11 # Modules need more symbols than just those in plugins/qemu-plugins.symbols 16 output: 'qemu-plugins-ld64.symbols', 18 command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@']) 19 emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols'] 20 elif host_os == 'windows' and meson.get_compiler('c').get_id() == 'clang' 24 emulator_link_args += ['-Xlinker', '--dynamic-list=' + qemu_plugin_symbols.full_path()] 36 command: ['sed', '-e', '0,/^/s//EXPORTS/; s/[{};]//g', '@INPUT@']) [all …]
|
/qemu/scripts/oss-fuzz/ |
H A D | build.sh | 1 #!/bin/bash -e 3 # OSS-Fuzz build script. See: 4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh 7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles 10 # the COPYING file in the top-level directory. 17 # make -j$(nproc) all 21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \ 22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \ 23 # -fsanitize=fuzzer /path/to/library.a 30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/" [all …]
|
/qemu/.gitlab-ci.d/custom-runners/ |
H A D | ubuntu-22.04-s390x.yml | 1 # All ubuntu-22.04 jobs should run successfully in an environment 2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task 5 ubuntu-22.04-s390x-all-linux: 10 - ubuntu_22.04 11 - s390x 13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' 14 - if: "$S390X_RUNNER_AVAILABLE" 16 - mkdir build 17 - cd build 18 - ../configure --enable-debug --disable-system --disable-tools --disable-docs [all …]
|
H A D | ubuntu-22.04-aarch64.yml | 1 # All ubuntu-22.04 jobs should run successfully in an environment 2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task 5 ubuntu-22.04-aarch64-all-linux-static: 10 - ubuntu_22.04 11 - aarch64 13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' 14 - if: "$AARCH64_RUNNER_AVAILABLE" 16 - mkdir build 17 - cd build 18 # Disable -static-pie due to build error with system libc: [all …]
|
/qemu/docs/devel/testing/ |
H A D | fuzzing.rst | 5 This document describes the virtual-device fuzzing infrastructure in QEMU and 9 ------ 16 is an *in-process* fuzzer. For the developer, this means that it is their 17 responsibility to ensure that state is reset between fuzzing-runs. 20 -------------------- 22 To build the fuzzers, install a recent version of clang: 23 Configure with (substitute the clang binaries with the version you installed). 24 Here, enable-asan and enable-ubsan are optional but they allow us to reliably 25 detect bugs such as out-of-bounds accesses, uses-after-free, double-frees 28 CC=clang-8 CXX=clang++-8 /path/to/configure \ [all …]
|
/qemu/linux-user/ |
H A D | qemu.h | 5 #include "accel/tcg/cpu-ldst.h" 7 #include "user/abitypes.h" 8 #include "user/page-protection.h" 12 #include "accel/tcg/vcpu-state.h" 22 * Basically, it replicates in user space what would be certain 63 /* For target-specific processing of NT_GNU_PROPERTY_TYPE_0. */ 173 /* user access */ 197 been locked - usually with lock_user_struct. */ 201 * - Use __builtin_choose_expr to avoid type promotion from ?:, 202 * - Invalid sizes result in a compile time error stemming from [all …]
|
/qemu/common-user/host/ppc/ |
H A D | safe-syscall.inc.S | 2 * safe-syscall.inc.S : host-specific assembly fragment 4 * This is intended to be included by common-user/safe-syscall.S 9 * See the COPYING file in the top-level directory. 15 * Clang defines _CALL_ELF (64-bit) but not _CALL_SYSV (32-bit). 51 stwu 1, -8(1) 54 .cfi_offset 30, -4 85 /* if signal_pending is non-zero, don't do the call */ 88 bne- 2f 107 .size safe_syscall_base, .-safe_syscall_base
|
/qemu/bsd-user/ |
H A D | qemu.h | 2 * qemu bsd user mode definition 25 #include "accel/tcg/cpu-ldst.h" 27 #include "user/abitypes.h" 28 #include "user/cpu_loop.h" 29 #include "user/page-protection.h" 33 #include "user/thunk.h" 34 #include "user/mmap.h" 42 #include "exec/page-protection.h" 43 #include "accel/tcg/vcpu-state.h" 45 #include "qemu-os.h" [all …]
|