Home
last modified time | relevance | path

Searched +full:i386 +full:- +full:linux +full:- +full:user (Results 1 – 25 of 52) sorted by relevance

123

/qemu/tests/docker/dockerfiles/
H A Ddebian-i686-cross.docker1 # 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 Ddebian-amd64-cross.docker1 # 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 …]
H A Ddebian-all-test-cross.docker2 # 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 …]
/qemu/tcg/tci/
H A DREADME1 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/lcitool/
H A Drefresh3 # 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/docs/user/
H A Dmain.rst1 .. _user-mode:
3 QEMU User space emulator
7 ---------------------------
9 The following OS are supported in user space emulation:
11 - Linux (referred as qemu-linux-user)
13 - BSD (referred as qemu-bsd-user)
16 --------
18 QEMU user space emulation has the following notable features:
23 32/64-bit mismatches between hosts and targets. IOCTLs can be
33 for example to emulate the signal mask. On Linux, QEMU supports both
[all …]
/qemu/linux-user/i386/
H A DMakefile.vdso1 include $(BUILD_DIR)/tests/tcg/i386-linux-user/config-target.mak
3 SUBDIR = $(SRC_PATH)/linux-user/i386
8 $(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
9 $(CC) -o $@ -m32 -nostdlib -shared -Wl,-h,linux-gate.so.1 \
10 -Wl,--build-id=sha1 -Wl,--hash-style=both \
11 -Wl,-T,$(SUBDIR)/vdso.ld $<
H A Dtarget_cpu.h2 * i386 specific CPU ABI and functions for linux-user
27 env->regs[R_ESP] = newsp; in cpu_clone_regs_child()
29 env->regs[R_EAX] = 0; in cpu_clone_regs_child()
44 cpu_x86_load_seg(env, R_GS, env->segs[R_GS].selector); in cpu_set_tls()
55 return state->regs[R_ESP]; in get_sp_from_cpustate()
/qemu/tests/tcg/i386/
H A DREADME1 These are i386 specific guest programs
3 test-i386
4 ---------
10 The Linux system call modify_ldt() is used to create x86 selectors
13 The Linux system call vm86() is used to test vm86 emulation.
15 Various exceptions are raised to test most of the x86 user space
18 test-avx
19 --------
24 test-avx.h is generate from x86.csv by test-avx.py
27 linux-test
[all …]
/qemu/scripts/
H A Dupdate-syscalltbl.sh2 arch/alpha/kernel/syscalls/syscall.tbl,linux-user/alpha/syscall.tbl \
3 arch/arm/tools/syscall.tbl,linux-user/arm/syscall.tbl \
4 scripts/syscall.tbl,linux-user/aarch64/syscall_64.tbl \
5 scripts/syscall.tbl,linux-user/hexagon/syscall.tbl \
6 scripts/syscall.tbl,linux-user/loongarch64/syscall.tbl \
7 arch/m68k/kernel/syscalls/syscall.tbl,linux-user/m68k/syscall.tbl \
8 arch/microblaze/kernel/syscalls/syscall.tbl,linux-user/microblaze/syscall.tbl \
9 arch/mips/kernel/syscalls/syscall_n32.tbl,linux-user/mips64/syscall_n32.tbl \
10 arch/mips/kernel/syscalls/syscall_n64.tbl,linux-user/mips64/syscall_n64.tbl \
11 arch/mips/kernel/syscalls/syscall_o32.tbl,linux-user/mips/syscall_o32.tbl \
[all …]
/qemu/tests/tcg/x86_64/
H A DMakefile.target1 # -*- 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/.gitlab-ci.d/
H A Dcrossbuilds.yml2 - 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 Dbuildtest.yml2 - 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 Dcrossbuild-template.yml7 - 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/
H A DMAINTAINERS10 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 Dconfigure14 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 Dmeson.build15 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'
53 supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux', 'emscripte…
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 …]
/qemu/scripts/oss-fuzz/
H A Dbuild.sh1 #!/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/docs/system/
H A Dqemu-manpage.rst10 QEMU User Documentation
13 --------
15 --------
17 .. parsed-literal::
21 -----------
23 -----------
25 .. include:: target-i386-desc.rst.inc
27 -------
29 -------
36 double the commas. For instance,"-fw_cfg name=z,string=a,,b" will be
[all …]
/qemu/scripts/coverity-scan/
H A DCOMPONENTS.md7 …~ .*/qemu((/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|s…
12 hexagon-gen (component should be ignored in analysis)
21 i386
22 ~ .*/qemu((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
40 …~ .*/qemu((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/mi…
70 …ock.*|(/include?)/(block|storage-daemon)/.*|(/include)?/hw/(block|ide|nvme)/.*|/qemu-(img|io).*|/u…
97 ~ .*/qemu((/include)?/(qapi|qobject|monitor)/.*|/job-qmp.c)
100 ~ .*/qemu(/nbd/.*|/include/block/nbd.*|/qemu-nbd\.c)
108 qemu-ga
123 user
[all …]
/qemu/linux-user/mips/
H A Dsockbits.h5 * later version. See the COPYING file in the top-level directory.
15 * This defines are ABI conformant as far as Linux supports these ...
29 #define TARGET_SO_OOBINLINE 0x0100 /* Receive out-of-band data in-band.
38 #define TARGET_SO_SNDLOWAT 0x1003 /* send low-water mark */
39 #define TARGET_SO_RCVLOWAT 0x1004 /* receive low-water mark */
46 /* linux-specific, might as well be the same as on i386 */
54 /* Security levels - as per NRL IPv6 - don't actually do anything */
74 /** sock_type - Socket types
77 * override the enum sock_type in include/linux/net.h, so
80 * @SOCK_DGRAM - datagram (conn.less) socket
[all …]
/qemu/bsd-user/i386/
H A Dtarget_syscall.h2 * i386 system call definitions
21 /* default linux values for the selectors */
51 #define TARGET_GDT_ENTRY_TLS_MAX (TARGET_GDT_ENTRY_TLS_MIN + TARGET_GDT_ENTRY_TLS_ENTRIES - 1)
72 #define TARGET_VM86_UNKNOWN 1 /* unhandled GP fault - IO-instruction or similar */
80 #define TARGET_VM86_TRAP 6 /* return due to DOS-debugger request */
94 * This is the stack-layout seen by the user space program when we have
180 #define UNAME_MACHINE "i386"
/qemu/docs/devel/
H A Dcodebase.rst12 ----------
15 `MAINTAINERS <https://gitlab.com/qemu-project/qemu/-/blob/master/MAINTAINERS>`_
20 - `Accelerators<Accelerators>`
21 - Block devices and `disk images<disk images>` support
22 - `CI<ci>` and `Tests<testing>`
23 - `Devices<device-emulation>` & Board models
24 - `Documentation <documentation-root>`
25 - `GDB support<GDB usage>`
26 - :ref:`Migration<migration>`
27 - `Monitor<QEMU monitor>`
[all …]
H A Dmulti-thread-tcg.rst2 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/interop/
H A Dfirmware.json1 # -*- Mode: Python -*-
11 # later. See the COPYING file in the top-level directory.
18 'member-name-exceptions': [
25 # Lists the firmware-OS interface types provided by various firmware
32 # 1275-1994 standard. Examples for firmware projects that
35 # @uboot: Firmware interface defined by the U-Boot project.
54 # @kernel: The firmware is to be loaded like a Linux kernel. This is
71 # @aarch64: 64-bit Arm.
73 # @arm: 32-bit Arm.
75 # @i386: 32-bit x86.
[all …]

123