/openbmc/qemu/tests/multiboot/ |
H A D | aout_kludge.out | 22 qemu-system-x86_64: invalid load_addr address 27 qemu-system-x86_64: invalid load_end_addr address 32 qemu-system-x86_64: invalid header_addr address 37 qemu-system-x86_64: invalid bss_end_addr address 42 qemu-system-x86_64: kernel does not fit in address space
|
/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/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | functions.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 10 # bootparam_hotplug_cpu bootparam-string 12 # Returns 1 if the specified boot-parameter string tells rcutorture to 13 # test CPU-hotplug operations. 15 echo "$1" | grep -q "torture\.onoff_" 18 # checkarg --argname argtype $# arg mustmatch cannotmatch 23 if test $3 -le 1 28 if echo "$4" | grep -q -e "$5" 35 if echo "$4" | grep -q -e "$6" 42 # configfrag_boot_params bootparam-string config-fragment-file [all …]
|
/openbmc/qemu/scripts/ |
H A D | qemu-trace-stap | 2 # -*- python -*- 6 # QEMU SystemTap Trace Tool 31 return re.sub("-", ".", filename) + ".log" 75 script = """probe begin { print("Running script, <Ctrl>-c to quit\\n") } """ + script 78 # can be easily overflowed by frequently firing QEMU traces 79 stapargs = ["stap", "-s", "8", "-I", tapsets ] 81 stapargs.extend(["-x", args.pid]) 82 stapargs.extend(["-e", script]) 99 proc = subprocess.Popen(["stap", "-I", tapsets, "-l", script], 119 parser = argparse.ArgumentParser(description="QEMU SystemTap trace tool") [all …]
|
H A D | compare-machine-types.py | 11 # property via qmp command (e.g. query-cpu-model-expansion for x86_64-cpu). 39 from qemu.machine import QEMUMachine 42 print("Try export PYTHONPATH=top-qemu-dir/python or run from top-qemu-dir") 46 default_qemu_args = '-enable-kvm -machine none' 47 default_qemu_binary = 'build/qemu-system-x86_64' 58 # 'x86_64-cpu', method of 'x86_64-cpu' will be used for '486-x86_64-cpu') 61 def __init__(self, vm: QEMUMachine, name: str, abstract: bool) -> None: 68 def get_prop(self, driver: str, prop: str) -> str: 74 def is_child_of(self, parent: 'Driver') -> bool: 84 def set_implementations(self, implementations: List['Driver']) -> None: [all …]
|
H A D | cpu-x86-uarch-abi.py | 3 # SPDX-License-Identifier: GPL-2.0-or-later 5 # A script to generate a CSV file showing the x86_64 ABI 9 from qemu.qmp.legacy import QEMUMonitorProtocol 13 print("syntax: %s QMP-SOCK\n\n" % __file__ + 14 "Where QMP-SOCK points to a QEMU process such as\n\n" + 15 " # qemu-system-x86_64 -qmp unix:/tmp/qmp,server,nowait " + 16 "-display none -accel kvm", file=sys.stderr) 21 [ # x86-64 baseline 31 [ # x86-64-v2 33 "lahf-lm", [all …]
|
/openbmc/qemu/.gitlab/issue_templates/ |
H A D | bug.md | 1 <!-- 2 This is the upstream QEMU issue tracker. 5 to reproduce the problem with the latest qemu.git master built from 6 source. See https://www.qemu.org/download/#source for instructions on 9 QEMU generally supports the last two releases advertised on 10 https://www.qemu.org/. Problems with distro-packaged versions of QEMU 13 See https://www.qemu.org/contribute/report-a-bug/ for additional 17 https://www.qemu.org/contribute/security-process/ 18 --> 21 - Operating system: <!-- Windows 10 21H1, Fedora 37, etc. --> [all …]
|
/openbmc/qemu/docs/system/ |
H A D | cpu-hotplug.rst | 5 A complete example of vCPU hotplug (and hot-unplug) using QMP 9 ------------ 11 (1) Launch QEMU as follows (note that the "maxcpus" is mandatory to 14 $ qemu-system-x86_64 -display none -no-user-config -m 2048 \ 15 -nodefaults -monitor stdio -machine pc,accel=kvm,usb=off \ 16 -smp 1,maxcpus=2 -cpu IvyBridge-IBRS \ 17 -qmp unix:/tmp/qmp-sock,server=on,wait=off 19 (2) Run 'qmp-shell' (located in the source tree, under: "scripts/qmp/) 20 to connect to the just-launched QEMU:: 22 $> ./qmp-shell -p -v /tmp/qmp-sock [all …]
|
H A D | pr-manager.rst | 9 the operating system restricts sending these commands to unprivileged 13 For this reason, QEMU's SCSI passthrough devices, ``scsi-block`` 14 and ``scsi-generic`` (both are only available on Linux) can delegate 18 manager object; other commands are processed by QEMU as usual. 20 ----------------------------------------- 22 ----------------------------------------- 25 "pr-manager" QOM class. 27 Right now only one subclass is defined, ``pr-manager-helper``, which 30 reservation commands to devices for which QEMU has a file descriptor, 31 so that QEMU will not be able to effect persistent reservations [all …]
|
H A D | device-url-syntax.rst.inc | 3 devices, QEMU can also use networked resources such as iSCSI devices. 7 iSCSI support allows QEMU to access iSCSI resources directly and use 12 "iscsi://<target-ip>[:<port>]/<target-iqn>/<lun>" 14 By default qemu will use the iSCSI initiator-name 15 'iqn.2008-11.org.linux-kvm[:<name>]' but this can also be set from 18 Since version QEMU 2.4 it is possible to specify a iSCSI request 26 .. parsed-literal:: 28 |qemu_system| -iscsi initiator-name=iqn.2001-04.com.example:my-initiator \\ 29 -cdrom iscsi://192.0.2.1/iqn.2001-04.com.example/2 \\ 30 -drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1 [all …]
|
/openbmc/qemu/ |
H A D | .patchew.yml | 1 --- 81 Patchew URL: https://patchew.org/QEMU/{{ obj.message_id }}/ 91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %} 115 --- 117 Please send your feedback to patchew-devel@redhat.com 126 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 127 docker-quick@centos8: 129 requirements: docker,x86_64 133 time make docker-test-quick@centos8 SHOW_ENV=1 J=14 NETWORK=1 140 git rev-parse base > /dev/null || exit 0 [all …]
|
H A D | configure | 3 # qemu configure script (c) 2003 Fabrice Bellard 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 …]
|
/openbmc/qemu/docs/interop/ |
H A D | firmware.json | 1 # -*- Mode: Python -*- 11 # later. See the COPYING file in the top-level directory. 18 'member-name-exceptions': [ 19 'FirmwareArchitecture' # x86_64 25 # Lists the firmware-OS interface types provided by various firmware 26 # that is commonly used with QEMU virtual machines. 32 # 1275-1994 standard. Examples for firmware projects that 35 # @uboot: Firmware interface defined by the U-Boot project. 68 # Enumeration of architectures for which Qemu uses additional 71 # @aarch64: 64-bit Arm. [all …]
|
/openbmc/qemu/docs/devel/testing/ |
H A D | qgraph.rst | 7 take care of booting QEMU with the right machine and devices. 11 For example, the sdhci device is supported on both x86_64 and ARM boards, 23 booting the right QEMU machine, pick the right device, build the command line 29 so the sdhci-test should only care of linking its qgraph node with 34 --------------- 45 - **QNODE_MACHINE**: for example ``arm/raspi2b`` 46 - **QNODE_DRIVER**: for example ``generic-sdhci`` 47 - **QNODE_INTERFACE**: for example ``sdhci`` (interface for all ``-sdhci`` 54 - **QNODE_TEST**: for example ``sdhci-test``. A test consumes an interface 59 - QNODE_MACHINE: each machine struct must have a ``QGuestAllocator`` and [all …]
|
H A D | acpi-bits.rst | 13 operating system getting involved in between. Bios-bits has python integration 15 python instead of bash-ish (grub's native scripting language). 18 operating system (the OS). Operating systems tend to bypass bios problems and 20 how by being as close to the bios on a running system as possible without a 21 complicated software component such as an operating system coming in between. 25 land software resides in unprivileged ring 3, operating system must be modified 32 bios-bits very attractive for testing bioses. More details on the inspiration 36 For QEMU, we maintain a fork of bios bits in `gitlab`_, along with all 38 acpica and changes specific to running these functional QEMU tests using 39 bits. The author of this document is the current maintainer of the QEMU [all …]
|
/openbmc/qemu/tcg/tci/ |
H A D | README | 1 TCG Interpreter (TCI) - Copyright (c) 2011 Stefan Weil. 9 targets supported by QEMU) to a code representation which 12 QEMU can create native code for some hosts (arm, i386, ia64, ppc, ppc64, 13 s390, sparc, x86_64). For others, unofficial host support was written. 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 48 The only difference from running QEMU with TCI to running without TCI [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | can.rst | 6 can be connected to host system CAN API (at this time only Linux 22 open-source/design/hardware solution. The core designer 31 to work on CAN hardware emulation on QEMU. 34 ---------------------------------------------------------- 35 When QEMU with CAN PCI support is compiled then one of the next 38 (1) CAN bus Kvaser PCI CAN-S (single SJA1000 channel) board. QEMU startup options:: 40 -object can-bus,id=canbus0 41 -device kvaser_pci,canbus=canbus0 43 Add "can-host-socketcan" object to connect device to host system CAN bus:: 45 -object can-host-socketcan,id=canhost0,if=can0,canbus=canbus0 [all …]
|
/openbmc/qemu/docs/devel/migration/ |
H A D | compatibility.rst | 5 --------------------------------- 7 When we do migration, we have two QEMU processes: the source and the 15 - QEMU version 16 - machine type version 20 - qemu-system-x86_64 (v5.2), from now on qemu-5.2. 21 - qemu-system-x86_64 (v5.1), from now on qemu-5.1. 26 - pc-q35-5.2 (newer one in qemu-5.2) from now on pc-5.2 27 - pc-q35-5.1 (newer one in qemu-5.1) from now on pc-5.1 30 machine type in both source and destination. The QEMU hardware 37 start with the trivial ones, QEMU is the same on source and [all …]
|
/openbmc/openbmc/meta-security/docs/ |
H A D | dm-verity-systemd-x86-64.txt | 1 dm-verity and x86-64 and systemd 2 -------------------------------- 3 In this example, we'll target combining qemux86-64 with dm-verity and 4 also systemd - systemd has dm-verity bindings and is more likely to be 7 While dm-verity in a qemu environment doesn't make practial sense as a 8 deployment - it can be a useful stepping stone for testing and getting to 11 Set/uncomment the MACHINE line for "qemux86-64" if you haven't yet. It 13 writing (kernel v6.1) the resulting qemux86-64 build can also be booted 14 successfully on physical hardware, but if you don't intend to use qemu, 15 you might instead want to choose "genericx86-64" [all …]
|
/openbmc/qemu/docs/ |
H A D | defs.rst.inc | 7 used inside a parsed-literal block: the definition must not include 12 .. |qemu_system| replace:: qemu-system-x86_64 13 .. |qemu_system_x86| replace:: qemu-system-x86_64
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | run_wrapper.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 manually, see: Documentation/dev-tools/kunit/run_manual.rst. 17 .. code-block:: 23 .. code-block:: 31 .. code-block:: 33 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all` 35 - ``--timeout`` sets a maximum amount of time for tests to run. 36 - ``--jobs`` sets the number of threads to build the kernel. 45 tests we want to run independently, or if we want to use pre-defined 51 .. code-block:: [all …]
|
/openbmc/openbmc/poky/meta-yocto-bsp/conf/machine/ |
H A D | genericx86-64.conf | 2 #@NAME: Generic x86_64 3 #@DESCRIPTION: Machine configuration for generic x86_64 (64-bit) PCs and servers. Supports a modera… 5 DEFAULTTUNE ?= "core2-64" 6 require conf/machine/include/x86/tune-core2.inc 7 require conf/machine/include/genericx86-common.inc 10 QB_SYSTEM_NAME = "qemu-system-x86_64"
|
/openbmc/qemu/tests/data/acpi/ |
H A D | rebuild-expected-aml.sh | 4 # Rebuild expected AML files for acpi unit-test 13 # See the COPYING.LIB file in the top-level directory. 15 qemu_arches="x86_64 aarch64 riscv64" 17 if [ ! -e "tests/qtest/bios-tables-test" ]; then 18 echo "Test: bios-tables-test is required! Run make check before this script." 23 if grep TARGET_DIRS= config-host.mak; then 25 if grep TARGET_DIRS= config-host.mak | grep "$arch"-softmmu; 27 qemu_bins="$qemu_bins ./qemu-system-$arch" 31 echo "config-host.mak missing!" 36 if [ -z "$qemu_bins" ]; then [all …]
|
/openbmc/qemu/docs/about/ |
H A D | emulation.rst | 4 QEMU's Tiny Code Generator (TCG) provides the ability to emulate a 6 :ref:`System Emulation` and :ref:`User Mode Emulation` are supported 9 .. list-table:: Supported Guest Architectures for Emulation 11 :header-rows: 1 13 * - Architecture (qemu name) 14 - System 15 - User 16 - Notes 17 * - Alpha 18 - Yes [all …]
|
/openbmc/qemu/tests/vm/ |
H A D | Makefile.include | 9 VM_VENV = check-venv 12 .PHONY: vm-build-all vm-clean-all 14 EFI_AARCH64 = $(wildcard $(BUILD_DIR)/pc-bios/edk2-aarch64-code.fd) 16 X86_IMAGES := freebsd netbsd openbsd haiku.x86_64 24 HOST_ARCH = $(shell uname -m) 25 ifeq ($(HOST_ARCH),x86_64) 31 IMAGES_DIR := $(HOME)/.cache/qemu-vm/images 37 HAVE_PYTHON_YAML = $(shell $(PYTHON) -c "import yaml" 2> /dev/null && echo yes) 40 # 'vm-help' target was historically named 'vm-test' 41 vm-help vm-test: [all …]
|