/qemu/.gitlab-ci.d/ |
H A D | cirrus.yml | 5 # The Cirrus CI configuration is generated by replacing target-specific 16 image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:latest 21 # as there's often a 5-10 minute delay before Cirrus CI 25 - set -o allexport 26 - source .gitlab-ci.d/cirrus/$NAME.vars 27 - set +o allexport 28 - cirrus-vars <.gitlab-ci.d/cirrus/build.yml >.gitlab-ci.d/cirrus/$NAME.yml 29 - cat .gitlab-ci.d/cirrus/$NAME.yml 30 - cirrus-run -v --show-build-log always .gitlab-ci.d/cirrus/$NAME.yml 34 x64-freebsd-14-build: [all …]
|
H A D | crossbuilds.yml | 2 - local: '/.gitlab-ci.d/crossbuild-template.yml' 4 cross-armhf-user: 7 job: armhf-debian-cross-container 9 IMAGE: debian-armhf-cross 11 cross-arm64-system: 14 job: arm64-debian-cross-container 16 IMAGE: debian-arm64-cross 18 cross-arm64-user: 21 job: arm64-debian-cross-container 23 IMAGE: debian-arm64-cross [all …]
|
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 …]
|
/qemu/tests/lcitool/ |
H A D | refresh | 3 # Re-generate container recipes 7 # https://gitlab.com/libvirt/libvirt-ci 13 # the top-level directory. 28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool") 30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir] 63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n" 70 cmd.extend(["--cross", cross]) 82 filename = Path(src_dir, ".gitlab-ci.d", "cirrus", target + ".vars") 83 cmd = lcitool_cmd + ["variables", "--format", "shell", target, "qemu"] 89 cmd = lcitool_cmd + ["variables", "--format", "json", target, "qemu"] [all …]
|
/qemu/configs/devices/aarch64-softmmu/ |
H A D | default.mak | 1 # Default configuration for aarch64-softmmu 4 include ../arm-softmmu/default.mak
|
/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 | MAINTAINERS | 10 consult qemu-devel and not any specific individual privately. 23 W: Web-page with status/info 59 ------------------------------ 63 L: qemu-devel@nongnu.org 72 R: Philippe Mathieu-Daudé <philmd@linaro.org> 75 F: docs/devel/build-environment.rst 76 F: docs/devel/code-of-conduct.rst 78 F: docs/devel/conflict-resolution.rst 80 F: docs/devel/submitting-a-patch.rst 81 F: docs/devel/submitting-a-pull-request.rst [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' 55 'arm', 'aarch64', 'loongarch64', 'mips', 'mips64', 'sparc64', 'wasm32'] 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(), [all …]
|
H A D | Makefile | 10 # Before including a proper config-host.mak, assume we are in the source tree 15 MAKEFLAGS += -rR 17 SHELL = bash -o pipefail 19 # Usage: $(call quiet-command,command and args,"NAME","args to print") 25 quiet-command-run = $(if $(V),,$(if $2,printf " %-7s %s\n" $2 $3 && ))$1 26 quiet-@ = $(if $(V),,@) 27 quiet-command = $(quiet-@)$(call quiet-command-run,$1,$2,$3) 30 help check-help print-% \ 31 docker docker-% lcitool-refresh vm-help vm-test vm-build-% 34 .PHONY: all clean distclean recurse-all dist msi FORCE [all …]
|
/qemu/docs/ |
H A D | glossary.rst | 3 -------- 5 -------- 11 ----------- 14 hardware-based, through a virtualization API provided by the host OS (kvm, hvf, 15 whpx, ...), or software-based (tcg). See this description of `supported 19 ----- 24 ----- 26 Block drivers are the available `disk formats and front-ends 27 <block-drivers>` available, and block devices `(see Block device section on 32 --- [all …]
|
/qemu/tests/docker/dockerfiles/ |
H A D | debian-armhf-cross.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all --cross-arch armv7l 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 \ 25 exuberant-ctags \ [all …]
|
/qemu/configs/devices/arm-softmmu/ |
H A D | default.mak | 1 # Default configuration for arm-softmmu
|
/qemu/tests/tcg/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 7 # ones we have cross-compilers for or docker images with 8 # cross-compilers. 11 # cross-compilers don't always have a large amount of libraries 17 # CC - the C compiler command 18 # EXTRA_CFLAGS - any extra CFLAGS 19 # BUILD_STATIC - are we building static binaries 23 # cross-compiler can only build dynamic libraries the user might need 29 # We also expect to be in the tests build dir for the FOO-(linux-user|softmmu). 33 -include ../config-host.mak [all …]
|
/qemu/tests/tcg/arm/ |
H A D | Makefile.softmmu-target | 1 # -*- Mode: makefile -*- 3 # ARM SoftMMU tests - included from tests/tcg/Makefile 6 ARM_SRC=$(SRC_PATH)/tests/tcg/arm/system 13 test-armv6m-undef: test-armv6m-undef.S 14 $(CC) -mcpu=cortex-m0 -mfloat-abi=soft \ 15 -Wl,--build-id=none -x assembler-with-cpp \ 16 $< -o $@ -nostdlib -static \ 17 -T $(ARM_SRC)/$@.ld 19 run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M micr… 21 ARM_TESTS+=test-armv6m-undef [all …]
|
/qemu/include/accel/tcg/ |
H A D | cpu-ops.h | 2 * TCG CPU-specific operations 7 * See the COPYING file in the top-level directory. 17 #include "exec/mmu-access-type.h" 19 #include "accel/tcg/tb-cpu-state.h" 20 #include "tcg/tcg-mo.h" 24 * mttcg_supported: multi-threaded TCG is supported 27 * - atomic instructions 28 * - memory ordering primitives (barriers) 60 * the target-specific DisasContext, and then invoke translator_loop. 76 * By default, when this is NULL, a call is made to @set_pc(tb->pc). [all …]
|
/qemu/docs/devel/ |
H A D | kconfig.rst | 13 SCSI adapters. Arm, s390 and x86 boards can all present a virtio-blk 21 QEMU uses a simple domain-specific language to describe the dependencies 36 This domain-specific language is based on the Kconfig language that 41 is instead specified in per-target files under the ``configs/`` 48 -------------------- 78 include it for clarity and future-proofing. After ``bool`` the following 136 ------------------------------------ 199 for example only VFIO (passthrough) and virtio-pci devices. 202 board (and not ones which are very board-specific or that need 258 -------------------------------------------- [all …]
|
H A D | build-system.rst | 14 - build artifacts outside of QEMU source tree entirely:: 22 - build artifacts in a subdir of QEMU source tree:: 38 - detect the host architecture 40 - list the targets for which to build emulators; the list of 43 - find the compilers (native and cross) used to build executables, 45 fragments (``config-host.mak``) or a Meson machine file 46 (``config-meson.cross``) 48 - create a virtual environment in which all Python code runs during 51 - invoke Meson in the virtual environment, to perform the actual 55 which a same-named Meson option exists; dashes in the command line are [all …]
|
H A D | multi-thread-tcg.rst | 2 Copyright (c) 2015-2020 Linaro Ltd. 5 later. See the COPYING file in the top-level directory. 10 Multi-threaded TCG 13 This document outlines the design for multi-threaded TCG (a.k.a MTTCG) 14 system-mode emulation. user-mode emulation has always mirrored the 17 linux-user emulation. 19 The original system-mode TCG implementation was single threaded and 20 dealt with multiple CPUs with simple round-robin scheduling. This 22 being emulated gained additional cores and per-core performance gains 29 user-space thread. This is enabled by default for all FE/BE [all …]
|
/qemu/tests/qtest/ |
H A D | meson.build | 2 'ahci-test': 150, 3 'aspeed_smc-test': 360, 4 'bios-tables-test' : 910, 5 'cdrom-test' : 610, 6 'device-introspect-test' : 720, 7 'ide-test' : 120, 8 'migration-test' : 480, 9 'npcm7xx_pwm-test': 300, 10 'npcm7xx_watchdog_timer-test': 120, 11 'qmp-cmd-test' : 120, [all …]
|
/qemu/target/arm/ |
H A D | ptw.c | 2 * ARM page table walking. 6 * SPDX-License-Identifier: GPL-2.0-or-later 12 #include "qemu/main-loop.h" 13 #include "exec/page-protection.h" 15 #include "exec/tlb-flags.h" 19 #include "cpu-features.h" 45 * - if the in_ptw_idx is an ARMMMUIdx_Phys_* then the mmuidx 47 * - if the in_ptw_idx is an ARMMMUIdx_Stage2* then the security 58 * and will not change the state of the softmmu TLBs. 104 for (int i = ARRAY_SIZE(pamax_map) - 1; i >= 0; i--) { in round_down_to_parange_index() [all …]
|
/qemu/include/hw/core/ |
H A D | cpu.h | 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 23 #include "hw/qdev-core.h" 24 #include "disas/dis-asm.h" 29 #include "exec/mmu-access-type.h" 30 #include "exec/tlb-common.h" 31 #include "qapi/qapi-types-machine.h" 32 #include "qapi/qapi-types-run-state.h" 45 * @section_id: QEMU-cpu 62 * has a cached value for the class in cs->cc which is set up in 75 * This macro is typically used in "cpu-qom.h" header file, and will: [all …]
|
/qemu/linux-user/ |
H A D | mmap.c | 23 #include "exec/page-protection.h" 24 #include "exec/mmap-lock.h" 25 #include "exec/tb-flush.h" 26 #include "exec/translation-block.h" 28 #include "user/page-protection.h" 29 #include "user-internals.h" 30 #include "user-mmap.h" 32 #include "qemu/interval-tree.h" 35 #include "target/arm/cpu-features.h" 51 if (--mmap_lock_count == 0) { in mmap_unlock() [all …]
|
/qemu/target/arm/tcg/ |
H A D | mte_helper.c | 2 * ARM v8.5-MemTag Operations 24 #include "exec/page-protection.h" 27 #include "user/page-protection.h" 31 #include "accel/tcg/cpu-ldst.h" 33 #include "exec/helper-proto.h" 34 #include "exec/tlb-flags.h" 35 #include "accel/tcg/cpu-ops.h" 37 #include "qemu/guest-random.h" 54 } while (--offset > 0); in choose_nonexcluded_tag() 89 TARGET_PAGE_BITS - LOG2_TAG_GRANULE - 1); in allocation_tag_mem_probe() [all …]
|