/qemu/tests/vm/ |
H A D | ubuntu.aarch64 | 12 # the COPYING file in the top-level directory. 21 'cpu' : "cortex-a57", 22 'machine' : "virt,gic-version=3", 23 'install_cmds' : "apt-get update,"\ 24 "apt-get build-dep -y --arch-only qemu,"\ 25 "apt-get install -y libfdt-dev pkg-config language-pack-en ninja-build", 39 image_name = "focal-server-cloudimg-arm64.img" 40 image_link = "https://cloud-images.ubuntu.com/focal/20220615/" + image_name 43 set -e; 44 cd $(mktemp -d); [all …]
|
H A D | centos.aarch64 | 12 # the COPYING file in the top-level directory. 26 'machine' : "virt,gic-version=max", 28 "dnf config-manager --enable crb, " 29 "dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo, " 30 "dnf install -y make ninja-build git python3 gcc gcc-c++ flex bison "\ 31 "glib2-devel pixman-devel zlib-devel docker-ce.aarch64, " 43 image_name = "CentOS-Stream-GenericCloud-9-20230501.0.aarch64.qcow2" 44 image_link = "https://cloud.centos.org/centos/9-stream/aarch64/images/" 47 set -e; 48 cd $(mktemp -d); [all …]
|
H A D | basevm.py | 4 # Copyright 2017-2019 Red Hat Inc. 11 # the COPYING file in the top-level directory. 62 'block' : "-drive file={},if=none,id=drive0,cache=writeback "\ 63 "-device virtio-blk,drive=drive0,bootindex=0", 64 'scsi' : "-device virtio-scsi-device,id=scsi "\ 65 "-drive file={},format=raw,if=none,id=hd0 "\ 66 "-device scsi-hd,drive=hd0,bootindex=0", 101 # Allow input config to override defaults. 111 self._tmpdir = os.path.realpath(tempfile.mkdtemp(prefix="vm-test-", 133 os.path.join(os.path.expanduser("~/.cache/qemu-vm"), [all …]
|
/qemu/.gitlab-ci.d/custom-runners/ |
H A D | ubuntu-22.04-aarch64.yml | 1 # All ubuntu-22.04 jobs should run successfully in an environment 2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task 3 # "Install basic packages to build QEMU on Ubuntu 22.04" 5 ubuntu-22.04-aarch64-all-linux-static: 8 stage: build 10 - ubuntu_22.04 11 - aarch64 13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' 14 - if: "$AARCH64_RUNNER_AVAILABLE" 16 - mkdir build [all …]
|
/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 | 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" 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" 36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n" [all …]
|
H A D | block.c | 9 * in the Software without restriction, including without limitation the rights 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 #include "block/dirty-bitmap.h" 34 #include "qemu/error-report.h" 36 #include "qemu/main-loop.h" 43 #include "qapi/qobject-output-visitor.h" 44 #include "qapi/qapi-visit-block-core.h" 45 #include "system/block-backend.h" 113 /* If non-zero, use only whitelisted block drivers */ 138 if (!bs || !bs->drv) { in bdrv_opt_mem_align() [all …]
|
/qemu/docs/devel/ |
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 24 * new targets and boards can be added without knowing in detail the 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 ------------------------------------ [all …]
|
H A D | qapi-code-gen.rst | 7 Copyright (C) 2012-2016 Red Hat, Inc. 10 later. See the COPYING file in the top-level directory. 17 QAPI is a native C API within QEMU which provides management-level 19 users/processes, this interface is made available by a JSON-based wire 43 There are several kinds of types: simple types (a number of built-in 50 ------------- 67 syntax in an EBNF-like notation: 69 * Production rules look like ``non-terminal = expression`` 85 * ALL-CAPS words other than ``STRING`` are non-terminals 90 A QAPI schema consists of a series of top-level expressions:: [all …]
|
/qemu/docs/system/ |
H A D | introduction.rst | 7 --------------------------- 14 .. list-table:: Supported Accelerators 15 :header-rows: 1 17 * - Accelerator 18 - Host OS 19 - Host Architectures 20 * - KVM 21 - Linux 22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86 23 * - Xen [all …]
|
/qemu/docs/system/riscv/ |
H A D | virt.rst | 8 real-world hardware. 11 ----------------- 17 * Platform-Level Interrupt Controller (PLIC) 22 * 8 virtio-mmio transport devices 27 machines with hypervisor extension can simply be used without explicitly 31 ---------------------------------- 34 which it passes to the guest, if there is no ``-dtb`` option. This provides 39 If users want to provide their own DTB, they can use the ``-dtb`` option. 42 * The number of subnodes of the /cpus node should match QEMU's ``-smp`` option 43 * The /memory reg size should match QEMU’s selected ram_size via ``-m`` [all …]
|
H A D | sifive_u.rst | 4 SiFive HiFive Unleashed Development Board is the ultimate RISC-V development 5 board featuring the Freedom U540 multi-core RISC-V processor. 8 ----------------- 15 * Platform-Level Interrupt Controller (PLIC) 17 * L2 Loosely Integrated Memory (L2-LIM) 22 * 1 One-Time Programmable (OTP) memory with stored serial number 30 1 E51 core and 4 U54 core combination and the RISC-V core boots in 64-bit mode. 32 is also possible to create a 32-bit variant with the same peripherals except 33 that the RISC-V cores are replaced by the 32-bit ones (E31 and U34), to help 34 testing of 32-bit guest software. [all …]
|
/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 …]
|
/qemu/scripts/ |
H A D | meson-buildoptions.py | 4 # user build options introspection data 16 # but WITHOUT ANY WARRANTY; without even the implied warranty of 28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent 29 # defaults. Try not to add any. 40 "coroutine_backend": "with-coroutine", 41 "debug": "debug-info", 42 "malloc": "enable-malloc", 43 "pkgversion": "with-pkgversion", 45 "qemu_suffix": "with-suffix", 46 "trace_backends": "enable-trace-backends", [all …]
|
H A D | device-crash-test | 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 20 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23 Run QEMU with all combinations of -machine and -device types, 44 print(" Try 'make check-venv' from your build directory,") 49 logger = logging.getLogger('device-crash-test') 54 # * Avoiding verbose log messages when we find known non-fatal 58 # the box, when running in --quick mode 69 # * exitcode: if not present, defaults to 1. If None, matches any exitcode 77 {'machine':'niagara', 'expected':True}, # Unable to load a firmware for -M niagara 78 … {'machine':'boston', 'expected':True}, # Please provide either a -kernel or -bios argument [all …]
|
/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': [ 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. 71 # @aarch64: 64-bit Arm. 73 # @arm: 32-bit Arm. 75 # @i386: 32-bit x86. 77 # @loongarch64: 64-bit LoongArch. (since: 7.1) [all …]
|
/qemu/tests/functional/ |
H A D | test_acpi_bits.py | 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 23 # pylint: disable=invalid-name 24 # pylint: disable=consider-using-f-string 31 https://gitlab.com/qemu-project/biosbits-bits . 52 class QEMUBitsMachine(QEMUMachine): # pylint: disable=too-few-public-methods 54 A QEMU VM, with isa-debugcon enabled and bits iso passed 55 using -cdrom to QEMU commandline. 64 debugcon_log: str = "debugcon-log.txt", 67 # pylint: disable=too-many-arguments 70 name = "qemu-bits-%d" % os.getpid() [all …]
|
/qemu/hw/i386/ |
H A D | x86.c | 2 * Copyright (c) 2003-2004 Fabrice Bellard 7 * in the Software without restriction, including without limitation the rights 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 24 #include "qemu/error-report.h" 27 #include "qapi/qapi-visit-common.h" 28 #include "qapi/qapi-visit-machine.h" 34 #include "hw/acpi/aml-build.h" 47 topo_info->dies_per_pkg = ms->smp.dies; in init_topo_info() 51 * always defaults to 1, therefore using smp.modules directly is in init_topo_info() 54 topo_info->modules_per_die = ms->smp.modules; in init_topo_info() [all …]
|
/qemu/docs/system/s390x/ |
H A D | vfio-ap.rst | 7 ------------ 19 ------------------------- 51 An AP queue is the means by which an AP command-request message is sent to an 57 which the AP command-request message is to be sent for processing. 63 * NQAP: to enqueue an AP command-request message to a queue 64 * DQAP: to dequeue an AP command-reply message from a queue 73 ---------------------------------------------- 84 an APID from 0-255. If a bit is set, the corresponding adapter is valid for 89 corresponds to an AP queue index (APQI) from 0-255. If a bit is set, the 94 changed by an AP command-request message sent to a usage domain from the [all …]
|
/qemu/linux-user/ |
H A D | main.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 #include "qemu/help-texts.h" 24 #include "qemu-version.h" 32 #include "user-internals.h" 35 #include "qemu/config-file.h" 37 #include "qemu/error-report.h" 41 #include "user/guest-base.h" 42 #include "user/page-protection.h" 48 #include "qemu/guest-random.h" [all …]
|
/qemu/hw/ppc/ |
H A D | pnv.c | 4 * Copyright (c) 2016-2024, IBM Corporation. 6 * SPDX-License-Identifier: GPL-2.0-or-later 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 45 #include "target/ppc/mmu-hash64.h" 47 #include "hw/pci-host/pnv_phb.h" 48 #include "hw/pci-host/pnv_phb3.h" 49 #include "hw/pci-host/pnv_phb4.h" 52 #include "hw/qdev-properties.h" 58 #include "hw/char/serial-isa.h" 69 #define PNOR_FILE_NAME "pnv-pnor.bin" [all …]
|
H A D | spapr_pci.c | 9 * in the Software without restriction, including without limitation the rights 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 36 #include "hw/pci-host/spapr.h" 40 #include "qemu/error-report.h" 47 #include "hw/qdev-properties.h" 70 QLIST_FOREACH(sphb, &spapr->phbs, list) { in spapr_pci_find_phb() 71 if (sphb->buid != buid) { in spapr_pci_find_phb() 92 return pci_find_device(phb->bus, bus_num, devfn); in spapr_pci_find_dev() 254 trace_spapr_pci_msi_setup(pdev->name, 0, msg.address); in spapr_msi_setmsg() 260 trace_spapr_pci_msi_setup(pdev->name, i, msg.address); in spapr_msi_setmsg() [all …]
|
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 13 * in the Software without restriction, including without limitation the rights 21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 33 #include "qemu/guest-random.h" 35 #include "qapi/qapi-events-machine.h" 36 #include "qapi/qapi-events-qdev.h" 46 #include "hw/fw-path-provider.h" 54 #include "migration/qemu-file-types.h" [all …]
|
/qemu/qga/ |
H A D | qapi-schema.json | 1 # *-*- Mode: Python -*-* 8 # For locating a particular item, please see the `qapi-qga-index`. 12 # .. qmp-example:: 14 # -> ... text sent by client (commands) ... 15 # <- ... text sent by server (command responses and events) ... 21 # :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>` 25 { 'pragma': { 'doc-required': true } } 31 'member-name-exceptions': [ 34 # Commands allowed to return a non-dictionary: 35 'command-returns-exceptions': [ [all …]
|
/qemu/system/ |
H A D | vl.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 8 * in the Software without restriction, including without limitation the rights 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 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" [all …]
|