/qemu/docs/system/arm/ |
H A D | cpu-features.rst | 1 Arm CPU Features 4 CPU features are optional features that a CPU of supporting type may 5 choose to implement or not. In QEMU, optional CPU features have 10 Cortex-A15 and the Cortex-A57, which respectively implement Arm 11 architecture reference manuals ARMv7-A and ARMv8-A, may both optionally 12 implement PMUs. For example, if a user wants to use a Cortex-A15 without 13 a PMU, then the ``-cpu`` parameter should contain ``pmu=off`` on the QEMU 14 command line, i.e. ``-cpu cortex-a15,pmu=off``. 16 As not all CPU types support all optional CPU features, then whether or 18 that implement the ARMv8-A architecture reference manual may optionally [all …]
|
/qemu/docs/system/i386/ |
H A D | kvm-pv.rst | 1 Paravirtualized KVM features 5 ----------- 11 ----- 13 Paravirtualized ``KVM`` features are represented as CPU flags. The following 14 features are enabled by default for any CPU model when ``KVM`` acceleration is 17 - ``kvmclock`` 18 - ``kvm-nopiodelay`` 19 - ``kvm-asyncpf`` 20 - ``kvm-steal-time`` 21 - ``kvm-pv-eoi`` [all …]
|
H A D | hyperv.rst | 1 Hyper-V Enlightenments 6 ----------- 10 guest support for such features is added simultaneously with the feature itself. 11 It may, however, be hard-to-impossible to add support for these interfaces to 14 KVM on x86 implements Hyper-V Enlightenments for Windows guests. These features 15 make Windows and Hyper-V guests think they're running on top of a Hyper-V 16 compatible hypervisor and use Hyper-V specific features. 20 ----- 22 No Hyper-V enlightenments are enabled by default by either KVM or QEMU. In 25 .. parsed-literal:: [all …]
|
H A D | microvm.rst | 7 It's a minimalist machine type without ``PCI`` nor ``ACPI`` support, 8 designed for short-lived guests. microvm also establishes a baseline 14 ----------------- 18 - ISA bus 19 - i8259 PIC (optional) 20 - i8254 PIT (optional) 21 - MC146818 RTC (optional) 22 - One ISA serial port (optional) 23 - LAPIC 24 - IOAPIC (with kernel-irqchip=split by default) [all …]
|
/qemu/scripts/rust/ |
H A D | rustc_args.py | 5 This program generates --cfg compile flags for the configuration headers passed 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 61 def find_check_cfg(self) -> Iterable[str]: 65 return cfg_lint.get("check-cfg", []) 68 def lints(self) -> Mapping[Any, Any]: 71 def get_table(self, key: str, can_be_workspace: bool = False) -> Mapping[Any, Any]: 85 def generate_lint_flags(cargo_toml: CargoTOML, strict_lints: bool) -> Iterable[str]: 86 """Converts Cargo.toml lints to rustc -A/-D/-F/-W flags.""" 97 flag = "-D" 99 flag = "-A" [all …]
|
/qemu/docs/system/ |
H A D | cpu-models-x86.rst.inc | 15 This passes the host CPU model features, model, stepping, exactly to 16 the guest. Note that KVM may filter out some host CPU model features 31 features, to alter what is presented to the guest by default. 35 a CPU model that is similar the host CPU, and then adding extra features 51 lists the long term stable CPU model versions (eg Haswell-v4). 56 .. _ABI compatibility levels: https://gitlab.com/x86-psABIs/x86-64-ABI/ 58 .. csv-table:: x86-64 ABI compatibility levels 59 :file: cpu-models-x86-abi.csv 61 :header-rows: 1 77 ``SierraForest``, ``SierraForest-v2`` [all …]
|
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/devel/ |
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/tests/qemu-iotests/ |
H A D | 036 | 17 # but WITHOUT ANY WARRANTY; without even the implied warranty of 31 status=1 # failure is the default! 44 # This tests qcow2-specific low-level functionality 57 $PYTHON qcow2.py "$TEST_IMG" set-feature-bit incompatible 63 59 # Without feature table 60 $PYTHON qcow2.py "$TEST_IMG" del-header-ext 0x6803f857 61 _qcow2_dump_header | grep features 62 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts 66 printf "\x00\x3f%s" "Test feature" | $PYTHON qcow2.py "$TEST_IMG" add-header-ext-stdio 0x6803f857 73 $PYTHON qcow2.py "$TEST_IMG" set-feature-bit incompatible 61 [all …]
|
/qemu/qapi/ |
H A D | block-core.json | 1 # -*- Mode: Python -*- 20 # @vm-state-size: size of the VM state 22 # @date-sec: UTC date of the snapshot in seconds 24 # @date-nsec: fractional part in nano seconds to be used with date-sec 26 # @vm-clock-sec: VM clock relative to boot in seconds 28 # @vm-clock-nsec: fractional part in nano seconds to be used with 29 # vm-clock-sec 32 # record/replay is enabled. Used for "time-traveling" to match 34 # counter may be obtained through @query-replay command 40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', [all …]
|
H A D | block-export.json | 1 # -*- Mode: Python -*- 9 { 'include': 'block-core.json' } 14 # @handshake-max-seconds: Time limit, in seconds, at which a client 16 # disconnected, or 0 for no limit (since 10.0; default: 10). 18 # @tls-creds: ID of the TLS credentials object (since 2.6). 20 # @tls-authz: ID of the QAuthZ authorization object used to validate 23 # fly while the NBD server is active. If missing, it will default 26 # @max-connections: The maximum number of connections to allow at the 29 # default: 100). 32 'data': { '*handshake-max-seconds': 'uint32', [all …]
|
H A D | machine.json | 1 # -*- Mode: Python -*- 5 # See the COPYING file in the top-level directory. 12 { 'include': 'machine-common.json' } 18 # targets. Run "./configure --help" in the project root directory, 19 # and look for the \*-softmmu targets near the "--target-list" option. 30 # "qemu-system-" prefix to produce the corresponding QEMU 31 # executable name. This is true even for "qemu-system-x86_64". 52 'data': [ 'uninitialized', 'stopped', 'check-stop', 'operating', 'load' ] } 59 # @cpu-state: the virtual CPU's state 68 'data': { 'cpu-state': 'S390CpuState', [all …]
|
/qemu/docs/devel/migration/ |
H A D | compatibility.rst | 5 --------------------------------- 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 33 except for a few cases where the backend features influence frontend 40 1 - qemu-5.2 -M pc-5.2 -> migrates to -> qemu-5.2 -M pc-5.2 45 2 - qemu-5.1 -M pc-5.1 -> migrates to -> qemu-5.1 -M pc-5.1 [all …]
|
/qemu/scripts/ |
H A D | meson-buildoptions.py | 16 # but WITHOUT ANY WARRANTY; without even the implied warranty of 28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent 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", 47 "trace_file": "with-trace-file", 58 # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific [all …]
|
/qemu/include/hw/xen/interface/io/ |
H A D | blkif.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Unified block-device I/O interface for Xen guest OSes. 7 * Copyright (c) 2003-2004, Keir Fraser 18 * Front->back notifications: When enqueuing a new request, sending a 20 * hold-off mechanism provided by the ring macros). Backends must set 23 * Back->front notifications: When enqueuing a new response, sending a 25 * hold-off mechanism provided by the ring macros). Frontends must set 45 * of a properly formated node string, without loss of information. 47 * Any specified default value is in effect if the corresponding XenBus node 63 *------------------ Backend Device Identification (PRIVATE) ------------------ [all …]
|
/qemu/target/s390x/kvm/ |
H A D | kvm.c | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 28 #include "s390x-internal.h" 33 #include "qemu/error-report.h" 36 #include "qemu/main-loop.h" 37 #include "qemu/mmap-alloc.h" 46 #include "hw/s390x/s390-pci-inst.h" 47 #include "hw/s390x/s390-pci-bus.h" 51 #include "hw/s390x/s390-virtio-ccw.h" 52 #include "hw/s390x/s390-hypercall.h" 187 return -E2BIG; in kvm_s390_set_mem_limit() [all …]
|
/qemu/target/i386/tcg/system/ |
H A D | misc_helper.c | 2 * x86 misc helpers - system code 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 #include "qemu/main-loop.h" 23 #include "exec/helper-proto.h" 24 #include "accel/tcg/cpu-ldst.h" 25 #include "system/address-spaces.h" 28 #include "tcg/helper-tcg.h" 69 if (!(env->hflags2 & HF2_VINTR_MASK)) { in helper_read_cr8() 70 return cpu_get_apic_tpr(env_archcpu(env)->apic_state); in helper_read_cr8() 72 return env->int_ctl & V_TPR_MASK; in helper_read_cr8() [all …]
|
/qemu/docs/user/ |
H A D | main.rst | 1 .. _user-mode: 7 --------------------------- 11 - Linux (referred as qemu-linux-user) 13 - BSD (referred as qemu-bsd-user) 15 Features chapter 16 -------- 18 QEMU user space emulation has the following notable features: 23 32/64-bit mismatches between hosts and targets. IOCTLs can be 34 normal and real-time signals. 47 .. _linux-user-mode: [all …]
|
/qemu/bsd-user/x86_64/ |
H A D | target_arch_cpu.h | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 #include "signal-common.h" 32 env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK; in target_cpu_init() 33 env->hflags |= HF_PE_MASK | HF_CPL_MASK; in target_cpu_init() 34 if (env->features[FEAT_1_EDX] & CPUID_SSE) { in target_cpu_init() 35 env->cr[4] |= CR4_OSFXSR_MASK; in target_cpu_init() 36 env->hflags |= HF_OSFXSR_MASK; in target_cpu_init() 40 if (!(env->features[FEAT_8000_0001_EDX] & CPUID_EXT2_LM)) { in target_cpu_init() 44 env->cr[4] |= CR4_PAE_MASK; in target_cpu_init() 45 env->efer |= MSR_EFER_LMA | MSR_EFER_LME; in target_cpu_init() [all …]
|
/qemu/net/ |
H A D | tap-linux.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 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 28 #include "tap-linux.h" 35 #include "qemu/error-report.h" 46 unsigned int features; in tap_open() local 54 fd = -1; in tap_open() 61 return -1; in tap_open() 67 if (ioctl(fd, TUNGETFEATURES, &features) == -1) { in tap_open() 69 features = 0; in tap_open() [all …]
|
/qemu/util/ |
H A D | userfaultfd.c | 2 * Linux UFFD-WP support 10 * later. See the COPYING file in the top-level directory. 15 #include "qemu/error-report.h" 37 * Make /dev/userfaultfd the default approach because it has better in uffd_open() 38 * permission controls, meanwhile allows kernel faults without any in uffd_open() 58 return -EINVAL; in uffd_open() 63 * uffd_query_features: query UFFD features 67 * @features: parameter to receive 'uffdio_api.features' 69 int uffd_query_features(uint64_t *features) in uffd_query_features() argument 73 int ret = -1; in uffd_query_features() [all …]
|
/qemu/target/arm/ |
H A D | cpu64.c | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 34 #include "hw/qdev-properties.h" 36 #include "cpu-features.h" 43 * then all other lengths are implicitly disabled. If sve-max-vq is in arm_cpu_sve_finalize() 47 * are enabled and sve-max-vq is not specified, then all lengths not in arm_cpu_sve_finalize() 48 * explicitly disabled will be enabled. Additionally, all power-of-two in arm_cpu_sve_finalize() 51 * disabled power-of-two vector length will be automatically disabled. in arm_cpu_sve_finalize() 56 uint32_t vq_map = cpu->sve_vq.map; in arm_cpu_sve_finalize() 57 uint32_t vq_init = cpu->sve_vq.init; in arm_cpu_sve_finalize() [all …]
|
/qemu/docs/about/ |
H A D | deprecated.rst | 1 .. _Deprecated features: 3 Deprecated features 6 In general features are intended to be supported indefinitely once 10 releases, the feature is liable to be removed. Deprecated features may also 21 for pre-existing VM deployments. They should be scheduled for updating to a 23 should exclusively use a non-deprecated machine type, with use of the most 24 recent version highly recommended. Non-versioned machine types follow the 27 What follows is a list of all features currently marked as 31 -------------------------------------- 33 Short-form boolean options (since 6.0) [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/target/sparc/ |
H A D | cpu.c | 4 * Copyright (c) 2003-2005 Fabrice Bellard 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 #include "qemu/qemu-print.h" 25 #include "accel/tcg/cpu-mmu-index.h" 26 #include "exec/translation-block.h" 27 #include "hw/qdev-properties.h" 41 if (scc->parent_phases.hold) { in sparc_cpu_reset_hold() 42 scc->parent_phases.hold(obj, type); in sparc_cpu_reset_hold() 46 env->cwp = 0; in sparc_cpu_reset_hold() 48 env->wim = 1; in sparc_cpu_reset_hold() [all …]
|