/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 …]
|
H A D | crossbuild-template.yml | 7 - ccache 12 - source scripts/ci/gitlab-ci-section 13 - section_start setup "Pre-script setup" 14 - JOBS=$(expr $(nproc) + 1) 15 - cat /packages.txt 16 - section_end setup 18 - export CCACHE_BASEDIR="$(pwd)" 19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache" 20 - export CCACHE_MAXSIZE="500M" 21 - export PATH="$CCACHE_WRAPPERSDIR:$PATH" [all …]
|
H A D | buildtest-template.yml | 7 - ccache 11 - source scripts/ci/gitlab-ci-section 12 - section_start setup "Pre-script setup" 13 - JOBS=$(expr $(nproc) + 1) 14 - cat /packages.txt 15 - section_end setup 17 - export CCACHE_BASEDIR="$(pwd)" 18 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache" 19 - export CCACHE_MAXSIZE="500M" 20 - export PATH="$CCACHE_WRAPPERSDIR:$PATH" [all …]
|
/qemu/tests/docker/ |
H A D | test-static | 1 #!/bin/bash -e 12 # the top-level directory. 19 --disable-system \ 20 --disable-tools \ 21 --disable-guest-agent \ 22 --disable-docs \ 23 --static
|
H A D | test-misc | 1 #!/bin/bash -e 11 # See the COPYING file in the top-level directory. 13 # SPDX-License-Identifier: GPL-2.0-or-later 17 requires_binary sphinx-build-3 sphinx-build 22 configure_qemu --disable-user --disable-system --enable-docs --enable-tools
|
H A D | test-rust | 1 #!/bin/bash -e 3 # Run the rust code checks (a.k.a. check-rust-tools-nightly) 12 # the top-level directory. 18 configure_qemu --disable-user --disable-docs --enable-rust 19 pyvenv/bin/meson devenv -w $QEMU_SRC/rust ${CARGO-cargo} fmt --check
|
/qemu/ |
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 | trace-events | 1 # See docs/devel/tracing.rst for syntax documentation. 10 # 2. Call the trace event from code using trace_##name, e.g. multiwrite_cb() -> 15 # [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>" 19 # The "disable" keyword will build without the trace event. 26 # The <format-string> should be a sprintf()-compatible format string. 34 … char *legal, const char *s0, const char *s1) "job %p (ret: %d) attempting %s transition (%s-->%s)" 38 # job-qmp.c
|
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 | qemu-img-cmds.hx | 1 HXCOMM See docs/devel/docs.rst for the format of this file. 12 HXCOMM over to the per-command sections in docs/tools/qemu-img.rst. 15 …"amend [--object objectdef] [--image-opts] [-p] [-q] [-f fmt] [-t cache] [--force] -o options file… 17 .. option:: amend [--object OBJECTDEF] [--image-opts] [-p] [-q] [-f FMT] [-t CACHE] [--force] -o OP… 21 …-c count] [-d depth] [-f fmt] [--flush-interval=flush_interval] [-i aio] [-n] [--no-drain] [-o off… 23 …-c COUNT] [-d DEPTH] [-f FMT] [--flush-interval=FLUSH_INTERVAL] [-i AIO] [-n] [--no-drain] [-o OFF… 27 …--merge SOURCE | --add | --remove | --clear | --enable | --disable)... [-b source_file [-F source_… 29 …--merge SOURCE | --add | --remove | --clear | --enable | --disable)... [-b SOURCE_FILE [-F SOURCE_… 33 …"check [--object objectdef] [--image-opts] [-q] [-f fmt] [--output=ofmt] [-r [leaks | all]] [-T sr… 35 .. option:: check [--object OBJECTDEF] [--image-opts] [-q] [-f FMT] [--output=OFMT] [-r [leaks | al… [all …]
|
/qemu/tests/docker/dockerfiles/ |
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 | emsdk-wasm32-cross.docker | 11 FROM emscripten/emsdk:$EMSDK_VERSION_QEMU AS build-base 17 ENV CFLAGS="-O3 -pthread -DWASM_BIGINT" 19 ENV LDFLAGS="-sWASM_BIGINT -sASYNCIFY=1 -L$TARGET/lib" 20 RUN apt-get update && apt-get install -y \ 22 build-essential \ 23 libglib2.0-dev \ 26 ninja-build \ 27 python3-pip 31 RUN mkdir -p $TARGET 45 pkgconfig = ['pkg-config', '--static'] [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 …]
|
/qemu/scripts/ |
H A D | meson-buildoptions.sh | 1 # This file is generated by meson-buildoptions.py, do not edit! 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co' 6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]' 7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 8 printf "%s\n" ' set block driver read-only whitelist (by default' 9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 11 printf "%s\n" ' set block driver read-write whitelist (by default' 12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 13 printf "%s\n" ' --datadir=VALUE Data file directory [share]' [all …]
|
/qemu/docs/system/arm/ |
H A D | virt.rst | 1 .. _arm-virt: 10 idiosyncrasies and limitations of a particular bit of real-world 18 ``virt-5.0`` machine type will behave like the ``virt`` machine from 19 the QEMU 5.0 release, and migration should work between ``virt-5.0`` 20 of the 5.0 release and ``virt-5.0`` of the 5.1 release. Migration 22 the non-versioned ``virt`` machine type. 24 VM migration is not guaranteed when using ``-cpu max``, as features 33 - PCI/PCIe devices 34 - Flash memory 35 - Either one or two PL011 UARTs for the NonSecure World [all …]
|
/qemu/target/loongarch/ |
H A D | README | 1 - Introduction 7 …https://github.com/loongson/LoongArch-Documentation/releases/download/2021.08.17/LoongArch-Vol1-v1… 9 …We can get the latest loongarch documents at https://github.com/loongson/LoongArch-Documentation/t… 12 - System emulation 14 …You can reference docs/system/loongarch/loongson3.rst to get the information about system emulatio… 16 - Linux-user emulation 18 …We already support Linux user emulation. We can use LoongArch cross-tools to build LoongArch execu… 19 and We can also use qemu-loongarch64 to run LoongArch executables. 21 1. Config cross-tools env. 27 …./configure --static --prefix=/usr --disable-werror --target-list="loongarch64-linux-user" --en… [all …]
|
/qemu/scripts/qapi/ |
H A D | parser.py | 1 # -*- coding: utf-8 -*- 6 # Copyright (c) 2013-2019 Red Hat Inc. 11 # Marc-André Lureau <marcandre.lureau@redhat.com> 15 # See the COPYING file in the top-level directory. 38 # pylint: disable=cyclic-import 39 # TODO: Remove cycle. [schema -> expr -> parser -> schema] 48 # pylint: disable=too-few-public-methods 74 Parse a JSON-esque schema file and process directives. See 75 qapi-code-gen.rst section "Schema Syntax" for the exact syntax. 87 :ivar docs: Resulting parsed documentation blocks. [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/include/hw/ssi/ |
H A D | xlnx-versal-ospi.h | 34 * https://www.xilinx.com/support/documentation/architecture-manuals/am011-versal-acap-trm.pdf 37 * https://docs.xilinx.com/r/en-US/am012-versal-register-reference/OSPI-Module 45 * + Named GPIO input "ospi-mux-sel": 0: enables indirect access mode 47 * + Property "dac-with-indac": Allow both direct accesses and indirect 49 * + Property "indac-write-disabled": Disable indirect access writes. 60 #define TYPE_XILINX_VERSAL_OSPI "xlnx.versal-ospi"
|
/qemu/crypto/ |
H A D | block-luks-priv.h | 4 * Copyright (c) 2015-2016 Red Hat, Inc. 24 #include "block-luks.h" 38 * docs/on-disk-format.pdf 79 * This struct is written to disk in big-endian format, 80 * but operated upon in native-endian format. 83 /* state of keyslot, enabled/disable */ 91 /* number of anti-forensic stripes */ 96 * This struct is written to disk in big-endian format, 97 * but operated upon in native-endian format. 109 /* cipher mode specification (cbc-plain, xts-essiv:sha256, etc) */
|
/qemu/docs/devel/testing/ |
H A D | ci-jobs.rst.inc | 9 ------------------------------------------------ 15 https://docs.gitlab.com/ee/ci/variables/#add-a-cicd-variable-to-a-project 18 --------------------------------------------------------------------------- 21 git-push command line arguments. 27 git push -o ci.variable="QEMU_CI_EXAMPLE_VAR=value" myrepo mybranch 31 https://docs.gitlab.com/ee/user/project/push_options.html#push-options-for-gitlab-cicd 34 ---------------------------------- 41 git config --local alias.push-ci "push -o ci.variable=QEMU_CI=1" 42 git config --local alias.push-ci-now "push -o ci.variable=QEMU_CI=2" 48 git push-ci [all …]
|
/qemu/tests/qtest/ |
H A D | readconfig-test.c | 2 * Validate -readconfig 7 * See the COPYING file in the top-level directory. 13 #include "qapi/qapi-visit-machine.h" 14 #include "qapi/qapi-visit-qom.h" 15 #include "qapi/qapi-visit-ui.h" 18 #include "qapi/qobject-input-visitor.h" 26 int cfgfd = -1; in qtest_init_with_config() 31 cfgfd = g_file_open_tmp("readconfig-test-XXXXXX", &cfgpath, &error); in qtest_init_with_config() 42 args = g_strdup_printf("-nodefaults -machine none -readconfig %s", cfgpath); in qtest_init_with_config() 62 g_assert(memdevs->value); in test_x86_memdev_resp() [all …]
|
/qemu/docs/sphinx/ |
H A D | qapidoc.py | 1 # coding=utf-8 5 # Copyright (c) 2024-2025 Red Hat 9 # See the COPYING file in the top-level directory. 12 qapidoc is a Sphinx extension that implements the qapi-doc directive 17 It implements one new rST directive, "qapi-doc::". 18 Each qapi-doc:: directive takes one argument, which is the 21 The docs/conf.py file must set the qapidoc_srctree config value to 25 https://www.sphinx-doc.org/en/master/development/index.html 88 # pylint: disable=too-many-public-methods 100 def __init__(self) -> None: [all …]
|