/qemu/tests/docker/dockerfiles/ |
H A D | debian-i686-cross.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all --cross-arch i686 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 …]
|
H A D | debian-all-test-cross.docker | 2 # Docker all cross-compiler target (tests only) 4 # While the normal cross builds take care to setup proper multiarch 5 # build environments which can cross build QEMU this just installs the 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 && \ [all …]
|
H A D | debian-amd64-cross.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all --cross-arch x86_64 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/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] 56 # Optional user setting, this will always be the last thing added 59 "# As a final step configure the user (if env is defined)", 60 "ARG USER", 62 "RUN if [ \"${USER}\" ]; then \\", 63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n" [all …]
|
/qemu/.gitlab-ci.d/ |
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/tcg/tci/ |
H A D | README | 1 TCG Interpreter (TCI) - Copyright (c) 2011 Stefan Weil. 12 QEMU can create native code for some hosts (arm, i386, ia64, ppc, ppc64, 24 tcg-target.c.inc, tcg-target.h. Both files are in directory tcg/tci. 30 to six arguments packed into a 32-bit integer. See comments in tci.c 37 configure --enable-tcg-interpreter 39 If configure is called without --enable-tcg-interpreter, it will 46 configure --enable-tcg-interpreter 52 qemu-system-i386 -d in_asm,op_opt,cpu -D /tmp/qemu.log -accel tcg,one-insn-per-tb=on 61 configure --cpu=unknown --enable-tcg-interpreter 64 user mode emulation. [all …]
|
/qemu/tests/tcg/x86_64/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 3 # x86_64 tests - included from tests/tcg/Makefile.target 5 # Currently we only build test-x86_64 and test-i386-ssse3 from 6 # $(SRC_PATH)/tests/tcg/i386/ 9 include $(SRC_PATH)/tests/tcg/i386/Makefile.target 11 X86_64_TESTS += test-2413 13 ifeq ($(filter %-linux-user, $(TARGET)),$(TARGET)) 18 X86_64_TESTS += test-1648 19 X86_64_TESTS += test-2175 20 X86_64_TESTS += cross-modifying-code [all …]
|
/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 | 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' 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/docs/devel/ |
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/docs/about/ |
H A D | deprecated.rst | 21 for pre-existing VM deployments. They should be scheduled for updating to a 23 should exclusively use a non-deprecated machine type, with use of the most 24 recent version highly recommended. Non-versioned machine types follow the 31 -------------------------------------- 33 Short-form boolean options (since 6.0) 43 The replacement for the ``nodelay`` short-form boolean option is ``nodelay=on`` 50 command-line less readable, especially when the argument itself consist of a 51 name and a value, e.g. ``-plugin plugin_name,arg="arg_name=arg_value"``. 52 Therefore, the usage of ``arg`` is redundant. Single-word arguments are treated 53 as short-form boolean values, and passed to plugins as ``arg_name=on``. [all …]
|
/qemu/hw/i386/ |
H A D | pc.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 28 #include "hw/i386/pc.h" 29 #include "hw/char/serial-isa.h" 31 #include "hw/hyperv/hv-balloon.h" 32 #include "hw/i386/fw_cfg.h" 33 #include "hw/i386/vmport.h" 35 #include "hw/ide/ide-bus.h" 50 #include "qemu/error-report.h" 52 #include "acpi-build.h" 56 #include "hw/i386/intel_iommu.h" [all …]
|
H A D | acpi-build.c | 3 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net> 26 #include "acpi-build.h" 27 #include "acpi-common.h" 29 #include "qemu/error-report.h" 33 #include "target/i386/cpu.h" 35 #include "hw/acpi/acpi-defs.h" 39 #include "hw/acpi/bios-linker-loader.h" 52 #include "hw/mem/memory-device.h" 56 #include "hw/hyperv/vmbus-bridge.h" 61 #include "hw/i386/fw_cfg.h" [all …]
|
/qemu/target/i386/ |
H A D | cpu.c | 2 * i386 CPUID, CPU class, definitions, models 23 #include "qemu/qemu-print.h" 24 #include "qemu/hw-version.h" 26 #include "tcg/helper-tcg.h" 27 #include "exec/translation-block.h" 29 #include "hvf/hvf-i386.h" 33 #include "qemu/error-report.h" 34 #include "qapi/qapi-visit-machine.h" 35 #include "standard-headers/asm-x86/kvm_para.h" 36 #include "hw/qdev-properties.h" [all …]
|
/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 4 * Copyright (c) 2008-2009 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * Based on i386/tcg-target.c - Copyright (c) 2008 Fabrice Bellard 43 # define HI_OFF (4 - LO_OFF) 45 /* Assert at compile-time that these values are never used for 64-bit. */ 160 /* Let the compiler perform the right-shift as part of the arithmetic. */ 162 ptrdiff_t disp = target - (src_rx + 1); 187 #define TCG_CT_CONST_U16 0x100 /* Unsigned 16-bit: 0 - 0xffff. */ 188 #define TCG_CT_CONST_S16 0x200 /* Signed 16-bit: -32768 - 32767 */ 353 * backwards-compatible at the assembly level. 422 msb -= 32; [all …]
|
/qemu/tcg/riscv/ |
H A D | tcg-target.c.inc | 5 * Copyright (c) 2008-2009 Arnaud Patard <arnaud.patard@rtp-net.org> 9 * Based on i386/tcg-target.c and mips/tcg-target.c 128 * RISC-V Base ISA opcodes (IM) 372 [TCG_COND_EQ] = { OPC_VMSEQ_VI, -16, 15, false }, 373 [TCG_COND_NE] = { OPC_VMSNE_VI, -16, 15, false }, 374 [TCG_COND_GT] = { OPC_VMSGT_VI, -16, 15, false }, 375 [TCG_COND_LE] = { OPC_VMSLE_VI, -16, 15, false }, 376 [TCG_COND_LT] = { OPC_VMSLE_VI, -15, 16, true }, 377 [TCG_COND_GE] = { OPC_VMSGT_VI, -15, 16, true }, 393 val >>= (-8 << vece) & 63; [all …]
|
/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 94 /* The Win64 ABI has xmm6-xmm15 as caller-saves, and we do not save 95 any of them. Therefore only allow xmm0-xmm5 to be allocated. */ 157 i386. */ 189 value -= (uintptr_t)tcg_splitwx_to_rx(code_ptr); 198 value -= (uintptr_t)tcg_splitwx_to_rx(code_ptr); 235 * TESTQ -> TESTL (uint32_t) 236 * TESTQ -> BT (is_power_of_2) 506 /* Group 1 opcode extensions for 0x80-0x83. 517 /* Group 2 opcode extensions for 0xc0, 0xc1, 0xd0-0xd3. */ 540 #define JCC_JMP (-1) [all …]
|
/qemu/linux-user/ |
H A D | syscall.c | 28 #include "exec/page-protection.h" 29 #include "exec/mmap-lock.h" 30 #include "exec/tb-flush.h" 31 #include "exec/translation-block.h" 115 #include <linux/dm-ioctl.h> 136 #include "user-internals.h" 138 #include "signal-common.h" 140 #include "user-mmap.h" 141 #include "user/page-protection.h" 142 #include "user/safe-syscall.h" [all …]
|