/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 | windows.yml | 1 msys2-64bit: 4 - saas-windows-medium-amd64 8 - msys64/var/cache 9 - ccache 20 CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false -Doptimization=0 22 GIT_FETCH_EXTRA_FLAGS: --no-tags --prune --quiet 24 name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" 27 - build/meson-logs/testlog.txt 29 junit: "build/meson-logs/testlog.junit.xml" 31 - Write-Output "Acquiring msys2.exe installer at $(Get-Date -Format u)" [all …]
|
/qemu/tests/docker/dockerfiles/ |
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-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-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 20 # Add extra build tools and as many cross compilers as we can for testing [all …]
|
H A D | debian-tricore-cross.docker | 2 # Docker TriCore cross-compiler target 8 # Copyright (c) 2018 Philippe Mathieu-Daudé 10 # SPDX-License-Identifier: GPL-2.0-or-later 12 FROM docker.io/library/debian:11-slim 15 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 16 DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy \ 19 ca-certificates \ 26 libglib2.0-dev \ 27 libpixman-1-dev \ 30 ninja-build \ [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/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 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… 31 make && make check-tcg [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 | .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 | meson_options.txt | 1 # These options do not correspond to a --enable/--disable-* option 3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too. 9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'], 12 description: 'use specified string as sub-version of the package') 25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like … 27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q… 28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M', 33 description: 'fuzzing engine library for OSS-Fuzz') 40 # Everything else can be set via --enable/--disable-* option 42 # here make sure to run "make update-buildoptions". [all …]
|
H A D | configure | 6 # Unset some variables known to interfere with behavior of common tools, 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) [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/coverity-scan/ |
H A D | run-coverity-scan | 1 #!/bin/sh -e 8 # See the COPYING file in the top-level directory. 10 # Copyright (c) 2017-2020 Linaro Limited 14 # run the (closed-source) coverity build tools, so don't 18 # tree, and that tree is a fresh clean one, because we do an in-tree 21 # regular expressions it uses; an out-of-tree build won't work for this.) 31 # --check-upload-only : return success if upload is possible 32 # --dry-run : run the tools, but don't actually do the upload 33 # --docker : create and work inside a container 34 # --docker-engine : specify the container engine to use (docker/podman/auto); [all …]
|
/qemu/tests/vm/ |
H A D | netbsd | 5 # Copyright 2017-2019 Red Hat Inc. 12 # the COPYING file in the top-level directory. 25 link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso" 29 # tools 30 "git-base", 34 "ninja-build", 36 # gnu tools 40 "gettext-tools", 66 set -e; 67 rm -rf /home/qemu/qemu-test.* [all …]
|
/qemu/docs/specs/ |
H A D | vmcoreinfo.rst | 5 The ``-device vmcoreinfo`` will create a ``fw_cfg`` entry for a guest to 14 The entry of 16 bytes has the following layout, in little-endian:: 29 A write of 0 in ``guest_format`` will disable further processing of 49 <https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo>`_). 53 guess of the value. This is useful for KASLR-enabled guest with 54 ancient tools not handling the ``VMCOREINFO`` note.
|
/qemu/stubs/ |
H A D | meson.build | 5 stub_ss.add(files('cpu-get-clock.c')) 6 stub_ss.add(files('error-printf.c')) 8 stub_ss.add(files('iothread-lock.c')) 9 stub_ss.add(files('is-daemonized.c')) 10 stub_ss.add(files('monitor-core.c')) 11 stub_ss.add(files('replay-mode.c')) 12 stub_ss.add(files('trace-control.c')) 15 stub_ss.add(files('bdrv-next-monitor-owned.c')) 16 stub_ss.add(files('blk-commit-all.c')) 17 stub_ss.add(files('blk-exp-close-all.c')) [all …]
|
/qemu/tests/guest-debug/ |
H A D | run-test.py | 10 # See the COPYING file in the top-level directory. 12 # SPDX-License-Identifier: GPL-2.0-or-later 24 parser.add_argument("--qemu", help="Qemu binary for test", 26 parser.add_argument("--qargs", help="Qemu arguments for test") 27 parser.add_argument("--binary", help="Binary to debug", 29 parser.add_argument("--test", help="GDB test script") 32 "The args should be preceded by -- to avoid confusion " 34 parser.add_argument("--gdb", help="The gdb binary to use", 36 parser.add_argument("--gdb-args", help="Additional gdb arguments") 37 parser.add_argument("--output", help="A file to redirect output to") [all …]
|
/qemu/include/hw/xen/interface/hvm/ |
H A D | hvm_op.h | 1 /* SPDX-License-Identifier: MIT */ 63 /* ISA device identification, by ISA IRQ (0-15). */ 75 /* PCI link identifier (0-3). */ 77 /* ISA IRQ (1-15), or 0 (disable link). */ 97 HVMMEM_ram_ro, /* Read-only; writes are discarded */ 100 HVMMEM_mmio_write_dm, /* Read-only; writes go to the device model */ 121 uint16_t pad[3]; /* align next field on 8-byte boundary */ 144 /* Following tools-only interfaces may change in future. */ 162 uint16_t pad[2]; /* align next field on 8-byte boundary */ 169 /* Following tools-only interfaces may change in future. */ [all …]
|
H A D | params.h | 1 /* SPDX-License-Identifier: MIT */ 34 * How should CPU0 event-channel notifications be delivered? 36 * If val == 0 then CPU0 event-channel notifications are not delivered. 62 * val[15:8] is interrupt flag of the PPI used by event-channel: 65 * val[7:0] is a PPI number used by event-channel. 74 * These are not used by Xen. They are here for convenience of HVM-guest 89 …* (See http://download.microsoft.com/download/A/B/4/AB43A34E-BDD0-4FA6-BDEF-79EEF16E880B/Hyperviso… 99 * - Hypercall MSRs (HV_X64_MSR_GUEST_OS_ID and HV_X64_MSR_HYPERCALL) 100 * - APIC access MSRs (HV_X64_MSR_EOI, HV_X64_MSR_ICR and HV_X64_MSR_TPR) 101 * - Virtual Processor index MSR (HV_X64_MSR_VP_INDEX) [all …]
|
/qemu/docs/system/ |
H A D | introduction.rst | 7 --------------------------- 14 .. list-table:: Supported Accelerators 15 :header-rows: 1 17 * - Accelerator 18 - Host OS 19 - Host Architectures 20 * - KVM 21 - Linux 22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86 23 * - Xen [all …]
|
/qemu/docs/devel/ |
H A D | tracing.rst | 19 $ qemu --trace "memory_region_ops_*" ... 25 ``./configure --enable-trace-backends=BACKENDS`` was not explicitly specified. 27 Multiple patterns can be specified by repeating the ``--trace`` option:: 29 $ qemu --trace "kvm_*" --trace "virtio_*" ... 32 file to avoid long command-line options:: 36 $ qemu --trace events=/tmp/events ... 41 Sub-directory setup 42 ------------------- 45 "trace-events" file. All directories which contain "trace-events" files must be 47 file. During build, the "trace-events" file in each listed subdirectory will be [all …]
|