| /openbmc/qemu/ |
| H A D | configure | 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 18 echo "Using './build' as the directory for build output" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 28 echo "ERROR: ./build dir already exists and was not previously created by configure" 33 if ! mkdir build || ! touch $MARKER 35 echo "ERROR: Could not create ./build directory. Check the permissions on" [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 | 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') 31 # configure runs. Since it is in the build directory 35 tmpdir = meson.current_build_dir() / 'meson-private/temp' 61 # type of binaries to build 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"') [all …]
|
| H A D | qemu-options.hx | 14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL) 16 ``-h`` 21 "-version display version information and exit\n", QEMU_ARCH_ALL) 23 ``-version`` 28 "-machine [type=]name[,prop[=value][,...]]\n" 29 " selects emulated machine ('-machine help' for list)\n" 31 " supported accelerators are kvm, xen, hvf, nvmm, whpx or tcg (default: tcg)\n" 33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n" 34 " mem-merge=on|off controls memory merge support (default: on)\n" 35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n" [all …]
|
| /openbmc/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 …]
|
| /openbmc/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 …]
|
| /openbmc/qemu/tests/tcg/ |
| H A D | Makefile.target | 1 # -*- Mode: makefile -*- 3 # TCG tests 5 # These are complicated by the fact we want to build them for guest 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 14 # We only include the host build system for SRC_PATH and we don't 17 # CC - the C compiler command 18 # EXTRA_CFLAGS - any extra CFLAGS 19 # BUILD_STATIC - are we building static binaries [all …]
|
| /openbmc/qemu/docs/devel/testing/ |
| H A D | main.rst | 7 everything from unit testing and exercising specific sub-systems all 9 tests you can run ``make check-help`` from either the source or build 13 the meson build system so can be run directly from the build tree, 16 [./pyvenv/bin/]meson test --suite qemu:softfloat 38 ------------------------- 49 Different sub-types of "make check" tests will be explained below. 51 Before running tests, it is best to build QEMU programs first. Some tests 55 .. _unit-tests: 68 In QEMU, unit tests can be invoked with ``make check-unit``. They are 76 1. Create a new source file. For example, ``tests/unit/foo-test.c``. [all …]
|
| /openbmc/qemu/docs/devel/ |
| H A D | build-system.rst | 2 The QEMU build system architecture 6 QEMU build system. As with projects using GNU autotools, the QEMU build 8 to determine the local build environment characteristics, then they run 9 "make" to build the project. This is about where the similarities with 12 The two general ways to perform a build are as follows: 14 - build artifacts outside of QEMU source tree entirely:: 17 mkdir build 18 cd build 22 - build artifacts in a subdir of QEMU source tree:: 24 mkdir build [all …]
|
| H A D | control-flow-integrity.rst | 4 Control-Flow Integrity (CFI) 7 This document describes the current control-flow integrity (CFI) mechanism in 12 ------ 16 The type used in QEMU is a forward-edge control-flow integrity that ensures 21 This type of CFI is entirely compiler-based and relies on the compiler knowing 28 In case of a CFI violation (i.e. call to a non-compatible function) QEMU will 32 ----------------- 34 NOTE: CFI requires the use of link-time optimization. Therefore, when CFI is 37 To build with CFI, the minimum requirement is Clang 6+. If you 44 AR=llvm-ar-9 CC=clang-9 CXX=clang++-9 /path/to/configure --enable-cfi [all …]
|
| 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 30 * users can easily build reduced versions of QEMU that support only a subset 32 all emulated PCI devices that QEMU supports, but the build process is 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 ------------------------------------ 179 a video card might specify ``select EDID`` if it needs to build EDID [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | arm-cpu-features.c | 9 * See the COPYING file in the top-level directory. 18 * We expect the SVE max-vq to be 16. Also it must be <= 64 23 #define MACHINE "-machine virt,gic-version=max -accel tcg " 24 #define MACHINE_KVM "-machine virt,gic-version=max -accel kvm " 25 #define QUERY_HEAD "{ 'execute': 'query-cpu-model-expansion', " \ 191 resp = qtest_qmp(qts, "{ 'execute': 'query-cpu-model-expansion', " in assert_type_full() 207 resp = qtest_qmp(qts, "{ 'execute': 'query-cpu-model-expansion', " in assert_bad_props() 234 if (strlen(e->key) > 3 && !strncmp(e->key, "sve", 3) && in resp_get_sve_vls() 235 g_ascii_isdigit(e->key[3])) { in resp_get_sve_vls() 239 bits = g_ascii_strtoll(&e->key[3], &endptr, 10); in resp_get_sve_vls() [all …]
|
| /openbmc/qemu/docs/about/ |
| H A D | removed-features.rst | 10 -------------------------------------- 12 ``-hdachs`` (removed in 2.12) 15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via 16 ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t`` 17 (together with ``-drive if=none,id=dr,...``). 19 ``-net channel`` (removed in 2.12) 22 This option has been replaced by ``-net user,guestfwd=...``. 24 ``-net dump`` (removed in 2.12) 27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by 28 ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``. [all …]
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | translate.h | 5 #include "tcg/tcg-op.h" 6 #include "tcg/tcg-op-gvec.h" 8 #include "exec/translation-block.h" 9 #include "exec/helper-gen.h" 11 #include "cpu-features.h" 38 * needed to bring cpu_pc current: pc_curr - pc_save. 40 * pc_save contains -1 to indicate that relative updates are no 50 /* Thumb-2 conditional execution bits. */ 53 /* M-profile ECI/ICI exception-continuable instruction state */ 69 bool ns; /* Use non-secure CPREG bank on access */ [all …]
|
| /openbmc/qemu/docs/specs/ |
| H A D | tpm.rst | 1 .. _tpm-device: 7 Guest-side hardware interface 11 ------------- 14 following the Trusted Computing Group's specification "TCG PC Client 20 0xfed40000-0xfed44fff available to the guest operating system. 23 - ``hw/tpm/tpm_tis_common.c`` 24 - ``hw/tpm/tpm_tis_isa.c`` 25 - ``hw/tpm/tpm_tis_sysbus.c`` 26 - ``hw/tpm/tpm_tis_i2c.c`` 27 - ``hw/tpm/tpm_tis.h`` [all …]
|
| /openbmc/qemu/target/arm/ |
| H A D | machine.c | 3 #include "qemu/error-report.h" 5 #include "system/tcg.h" 8 #include "cpu-features.h" 9 #include "migration/qemu-file-types.h" 17 return (arm_feature(&cpu->env, ARM_FEATURE_AARCH64) in vfp_needed() 35 * On incoming migration, if the cpu/vfp FPSCR field is non-zero we in vfp_fpcr_fpsr_needed() 37 * (The subsection will never be present with a non-zero FPSCR field, in vfp_fpcr_fpsr_needed() 45 CPUARMState *env = &cpu->env; in vfp_fpcr_fpsr_needed() 55 CPUARMState *env = &cpu->env; in get_fpscr() 69 CPUARMState *env = &cpu->env; in put_fpscr() [all …]
|
| /openbmc/qemu/system/ |
| H A D | vl.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 26 #include "qemu/help-texts.h" 30 #include "qemu/target-info.h" 31 #include "exec/cpu-common.h" 32 #include "exec/page-vary.h" 33 #include "hw/qdev-properties.h" 34 #include "qapi/compat-policy.h" 39 #include "qemu-version.h" 42 #include "qemu/hw-version.h" 44 #include "qemu/target-info.h" [all …]
|
| /openbmc/qemu/tcg/ |
| H A D | tcg.c | 30 #include "qemu/error-report.h" 32 #include "qemu/host-utils.h" 33 #include "qemu/qemu-print.h" 38 #include "exec/translation-block.h" 39 #include "exec/tlb-common.h" 40 #include "tcg/startup.h" 41 #include "tcg/tcg-op-common.h" 56 #include "tcg/tcg-ldst.h" 57 #include "tcg/tcg-temp-internal.h" 58 #include "tcg-internal.h" [all …]
|
| /openbmc/qemu/target/s390x/ |
| H A D | cpu_models.c | 9 * your option) any later version. See the COPYING file in the top-level 15 #include "s390x-internal.h" 18 #include "system/tcg.h" 20 #include "qemu/error-report.h" 23 #include "qemu/hw-version.h" 24 #include "qemu/qemu-print.h" 53 * (see https://www.ibm.com/support/pages/ibm-mainframe-life-cycle-history), 54 * so we consider older CPUs as legacy that can optionally be disabled via 114 clear_bit(feat, (unsigned long *)&def->default_feat); in s390_cpudef_featoff() 124 if (def->gen < gen) { in s390_cpudef_featoff_greater() [all …]
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr.c | 4 * Copyright (c) 2004-2007 Fabrice Bellard 7 * Copyright (c) 2010-2024, IBM Corporation.. 9 * SPDX-License-Identifier: GPL-2.0-or-later 33 #include "qemu/guest-random.h" 35 #include "qapi/qapi-events-machine.h" 36 #include "qapi/qapi-events-qdev.h" 41 #include "system/tcg.h" 46 #include "hw/fw-path-provider.h" 54 #include "migration/qemu-file-types.h" 58 #include "mmu-hash64.h" [all …]
|
| /openbmc/qemu/hw/arm/ |
| H A D | virt.c | 2 * ARM mach-virt emulation 23 * + we want to present a very stripped-down minimalist platform, 41 #include "hw/vfio/vfio-calxeda-xgmac.h" 42 #include "hw/vfio/vfio-amd-xgbe.h" 49 #include "system/tcg.h" 57 #include "qemu/error-report.h" 59 #include "hw/pci-host/gpex.h" 60 #include "hw/pci-bridge/pci_expander_bridge.h" 61 #include "hw/virtio/virtio-pci.h" 62 #include "hw/core/sysbus-fdt.h" [all …]
|
| /openbmc/ |
| D | opengrok1.0.log | 1 2025-10-25 03:01:17.956-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-10-25 03:01:18.030-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
| D | opengrok2.0.log | 1 2025-10-24 03:01:14.545-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-10-24 03:01:14.609-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
| /openbmc/qemu/hw/i386/ |
| H A D | pc.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 29 #include "hw/char/serial-isa.h" 31 #include "hw/hyperv/hv-balloon.h" 35 #include "hw/ide/ide-bus.h" 50 #include "qemu/error-report.h" 52 #include "acpi-build.h" 57 #include "hw/net/ne2000-isa.h" 58 #include "hw/virtio/virtio-iommu.h" 59 #include "hw/virtio/virtio-md-pci.h" 64 #include "hw/mem/memory-device.h" [all …]
|
| /openbmc/qemu/target/i386/tcg/ |
| H A D | translate.c | 21 #include "qemu/host-utils.h" 23 #include "accel/tcg/cpu-mmu-index.h" 24 #include "exec/translation-block.h" 25 #include "tcg/tcg-op.h" 26 #include "tcg/tcg-op-gvec.h" 31 #include "exec/helper-proto.h" 32 #include "exec/helper-gen.h" 33 #include "helper-tcg.h" 34 #include "decode-new.h" 39 #include "exec/helper-info.c.inc" [all …]
|