/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 | 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/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/ |
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/scripts/ |
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 | 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 …]
|
/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 …]
|
/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/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/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/.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/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" 66 def generate_dockerfile(host, target, project="qemu", cross=None, trailer=None): 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"] [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/manual/ |
H A D | sdk.json | 13 …qemu configuration \n \ta. Download kernel, rootfs tar.bz2 image and qemu configuration from p… 17 …x86_64/ \n \tb. Download poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-versi… 21 … runqemu-extract-sdk core-image-sato-sdk-qemux86.tar.bz2 qemux86_rootfs_image1 \n … 25 …qemu to boot up both two images \n \ta. Run 2 commands below: \n runqemu <ker… 26 "expected_results": "Expect both qemu to boot up successfully."
|
/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 …]
|
/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/tests/docker/dockerfiles/ |
H A D | fedora-win64-cross.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all --cross-arch mingw64 fedora-40 qemu,qemu-win-installer 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf install -y nosync && \ 11 if test -d /usr/lib64\n\ 19 nosync dnf update -y && \ 20 nosync dnf install -y \ 23 bindgen-cli \ 26 ca-certificates \ 29 dbus-daemon \ [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | uki.py | 5 # SPDX-License-Identifier: MIT 17 @skipIfNotArch(['i586', 'i686', 'x86_64']) 20 …"""Build and boot into UEFI firmware (omvf/edk2), systemd-boot, initrd without systemd, rootfs wit… 21 image = "core-image-minimal" 28 # efi firmware must load systemd-boot, not grub 29 EFI_PROVIDER = "systemd-boot" 32 IMAGE_FSTYPES:pn-%s:append = " wic" 33 WKS_FILE = "efi-uki-bootdisk.wks.in" 38 IMAGE_CLASSES:append:pn-core-image-minimal = " uki" 41 INITRAMFS_IMAGE = "core-image-minimal-initramfs" [all …]
|
/openbmc/qemu/rust/hw/char/pl011/ |
H A D | README.md | 1 # PL011 QEMU Device Model 4 device in QEMU. 11 cargo build --target x86_64-unknown-linux-gnu 21 cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu 27 cargo tree --depth 1 -e normal --prefix none \ 28 | cut -d' ' -f1 \ 29 | xargs printf -- '-p %s\n' \ 30 | xargs cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu
|
/openbmc/qemu/tests/docker/ |
H A D | Makefile.include | 3 .PHONY: docker docker-help docker-test docker-clean docker-image docker-qemu-src 9 HOST_ARCH = $(shell uname -m) 10 USER = $(if $(NOUSER),,$(shell id -un)) 11 UID = $(if $(NOUSER),,$(shell id -u)) 14 ifeq ($(HOST_ARCH),x86_64) 15 DOCKER_DEFAULT_REGISTRY := registry.gitlab.com/qemu-project/qemu 19 RUNC ?= $(if $(shell command -v docker), docker, podman) 20 DOCKER_SCRIPT=$(SRC_PATH)/tests/docker/docker.py --engine $(RUNC) 22 CUR_TIME := $(shell date +%Y-%m-%d-%H.%M.%S.$$$$) 23 DOCKER_SRC_COPY := $(BUILD_DIR)/docker-src.$(CUR_TIME) [all …]
|
/openbmc/u-boot/ |
H A D | .travis.yml | 1 # SPDX-License-Identifier: GPL-2.0+ 4 # build U-Boot on Travis CI - https://travis-ci.org/ 14 - ubuntu-toolchain-r-test 15 - llvm-toolchain-trusty-7 17 - cppcheck 18 - sloccount 19 - sparse 20 - bc 21 - build-essential 22 - libsdl1.2-dev [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/x86/ |
H A D | arch-x86.inc | 2 # X86 Architecture definition (IA32, X86_64, and X32) 8 X86ARCH64 ?= "x86_64" 10 TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}" 16 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', ' -m32', '', d)}" 20 TUNEVALID[mx32] = "IA32e (x86_64) ELF32 standard ABI" 24 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', ' -mx32', '', d)}" 25 TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '-m elf32_x86_64', '', d)}" 26 TUNE_ASARGS += "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '-x32', '', d)}" 27 # user mode qemu doesn't support x32 28 …KFILL_CONSIDERED:append = " ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'qemu-usermode', '', d)}" [all …]
|
/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/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 …]
|