/qemu/target/xtensa/core-dsp3400/ |
H A D | core-matmap.h | 2 * xtensa/config/core-matmap.h -- Memory access and translation mapping 10 * information contained in the core-isa.h header file. 19 * XCHAL_ICACHE_SIZE (presence of I-cache) 20 * XCHAL_DCACHE_SIZE (presence of D-cache) 25 /* Copyright (c) 1999-2010 Tensilica Inc. 49 /*---------------------------------------------------------------------- 51 ----------------------------------------------------------------------*/ 54 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */ 112 #define XCHAL_CA_WRITETHRU 1 /* cache enabled (write-through) mode */ 113 #define XCHAL_CA_WRITEBACK 4 /* cache enabled (write-back) mode */ [all …]
|
/qemu/docs/system/ |
H A D | replay.rst | 4 Copyright (c) 2010-2022 Institute for System Programming 8 See the COPYING file in the top-level directory. 14 Execution recording writes a non-deterministic events log, which can be later 17 Execution replaying reads the log and replays all non-deterministic events 26 * Supports i386, x86_64, ARM, AArch64, Risc-V, MIPS, MIPS64, S390X, Alpha, 36 .. parsed-literal:: 38 -icount shift=auto,rr=record,rrfile=replay.bin \\ 39 -drive file=disk.qcow2,if=none,snapshot,id=img-direct \\ 40 -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \\ 41 -device ide-hd,drive=img-blkreplay \\ [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 244.out | 12 qemu-io: can't open device TEST_DIR/t.qcow2: Could not open 'inexistent': No such file or directory 16 qemu-io: can't open device TEST_DIR/t.qcow2: 'data-file' is required for this image 20 qemu-io: can't open device TEST_DIR/t.qcow2: Could not open 'inexistent': No such file or directory 23 Setting data-file for an image with internal data: 25 qemu-io: can't open device TEST_DIR/t.qcow2: 'data-file' can only be set for images with an externa… 27 qemu-io: can't open device TEST_DIR/t.qcow2: Could not open 'inexistent': No such file or directory 36 qemu-img: error while writing at byte 0: Operation not supported 39 Images are identical. 44 qemu-img: Could not create snapshot 'test': Operation not supported 132 Images are identical. [all …]
|
H A D | 308.out | 8 {'execute': 'blockdev-add', 11 'node-name': 'node-protocol', 15 {'execute': 'blockdev-add', 18 'node-name': 'node-format', 19 'file': 'node-protocol' 24 {'execute': 'block-export-add', 27 'id': 'export-err', 28 'node-name': 'node-format', 34 {'execute': 'block-export-add', 37 'id': 'export-err', [all …]
|
H A D | 215 | 4 # Test case for copy-on-read into qcow2, using the COR filter driver 37 *[^-_a-zA-Z0-9/]*) 45 rm -f "$BLKDBG_CONF" 57 echo '=== Copy-on-read ===' 66 $QEMU_IO -c "write -P 55 3G 1k" "$TEST_IMG" | _filter_qemu_io 68 _make_test_img --no-opts -F "$IMGFMT" -b "$TEST_IMG" | _filter_img_create 69 $QEMU_IO -f qcow2 -c "write -z -u 1M 64k" "$TEST_WRAP" | _filter_qemu_io 72 # does not re-write the allocated cluster 74 [inject-error] 78 $QEMU_IO -c "open \ [all …]
|
H A D | 197 | 4 # Test case for copy-on-read into qcow2 40 *[^-_a-zA-Z0-9/]*) 48 rm -f "$BLKDBG_CONF" 60 echo '=== Copy-on-read ===' 69 $QEMU_IO -c "write -P 55 3G 1k" "$TEST_IMG" | _filter_qemu_io 71 _make_test_img --no-opts -F "$IMGFMT" -b "$TEST_IMG" | _filter_img_create 72 $QEMU_IO -f qcow2 -c "write -z -u 1M 64k" "$TEST_WRAP" | _filter_qemu_io 75 # does not re-write the allocated cluster 77 [inject-error] 81 $QEMU_IO -c "open -C \ [all …]
|
H A D | 024 | 57 # Backing (old) 11 -- 11 -- 11 -- 11 -- 58 # Backing (new) 22 22 -- -- 22 22 -- -- 59 # COW image 33 33 33 33 -- -- -- -- 61 # The pattern is written twice to have both an alloc -> non-alloc and a 62 # non-alloc -> alloc transition in the COW image. 87 _make_test_img -b "$TEST_IMG.base_old" -F $IMGFMT 1G 113 $QEMU_IMG rebase -b "$TEST_IMG.base_new" -F $IMGFMT "$TEST_IMG" 154 # Backing (old): 11 11 -- 11 155 # Backing (new): -- 22 22 11 156 # Overlay: -- -- -- -- [all …]
|
H A D | 122.out | 6 === Check allocation status regression with -B === 82 qemu-img: Having a backing file for the target makes no sense when concatenating multiple input ima… 83 qemu-img: Having a backing file for the target makes no sense when concatenating multiple input ima… 120 === Full allocation with -S 0 === 128 convert -S 0: 135 convert -c -S 0: 148 convert -S 0 with source backing file: 157 convert -c -S 0 with source backing file: 166 convert -S 0 -B ... 175 convert -c -S 0 -B ... [all …]
|
/qemu/target/xtensa/core-de233_fpu/ |
H A D | core-matmap.h | 2 * xtensa/config/core-matmap.h -- Memory access and translation mapping 10 * information contained in the core-isa.h header file. 19 * XCHAL_ICACHE_SIZE (presence of I-cache) 20 * XCHAL_DCACHE_SIZE (presence of D-cache) 25 /* Copyright (c) 1999-2020 Tensilica Inc. 49 /*---------------------------------------------------------------------- 51 ----------------------------------------------------------------------*/ 55 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */ 117 #define XCHAL_CA_WRITETHRU 11 /* cache enabled (write-through) mode */ 118 #define XCHAL_CA_WRITEBACK 7 /* cache enabled (write-back) mode */ [all …]
|
/qemu/qapi/ |
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/include/hw/intc/ |
H A D | arm_gic_common.h | 55 /* The enable bits are only banked for per-cpu interrupts. */ 61 bool edge_trigger; /* true: edge-triggered, false: level-triggered */ 90 uint8_t priority2[GIC_MAXIRQ - GIC_INTERNAL]; 108 * secure copy and abpr as storage for the non-secure copy of the register. 113 /* The APR is implementation defined, so we choose a layout identical to
|
/qemu/include/standard-headers/linux/ |
H A D | vmclock-abi.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ 4 * This structure provides a vDSO-style clock to VM guests, exposing the 11 * First, even between identical hosts the actual frequency of the underlying 30 * action, even when using a vDSO-style method to get the time instead of a 49 * nascent virtio-rtc standard, as a virtio-rtc that does not address the live 52 * the virtio-rtc proposal. The structure can also be exposed through an ACPI 61 #include "standard-headers/linux/types.h" 74 #define VMCLOCK_TIME_UTC 0 /* Since 1970-01-01 00:00:00z */ 75 #define VMCLOCK_TIME_TAI 1 /* Since 1970-01-01 00:00:00z */ 80 /* NON-CONSTANT FIELDS PROTECTED BY SEQCOUNT LOCK */ [all …]
|
/qemu/docs/interop/ |
H A D | live-block-operations.rst | 5 later. See the COPYING file in the top-level directory. 14 live block device jobs -- stream, commit, mirror, and backup. These can 19 to another target image; and point-in-time (and incremental) backups of 21 primitives, and some (non-exhaustive list of) examples to illustrate 25 The file ``qapi/block-core.json`` in the QEMU source tree has the 35 --------------------------------- 38 ``blockdev-snapshot-sync``, or offline via ``qemu-img``):: 45 [A] <----- [B] 59 block-core.json.) 74 ------------------------------------------- [all …]
|
/qemu/docs/devel/ |
H A D | loads-stores.rst | 12 documentation of each API -- for that you should look at the 32 - (empty) : for 32 or 64 bit sizes 33 - ``u`` : unsigned 34 - ``s`` : signed 37 - ``b`` : 8 bits 38 - ``w`` : 16 bits 39 - ``24`` : 24 bits 40 - ``l`` : 32 bits 41 - ``q`` : 64 bits 44 - ``he`` : host endian [all …]
|
/qemu/include/qapi/ |
H A D | visitor.h | 4 * Copyright (C) 2012-2016 Red Hat, Inc. 11 * See the COPYING.LIB file in the top-level directory. 18 #include "qapi/qapi-builtin-types.h" 19 #include "qapi/qapi-types-compat.h" 40 * details on what it supports. Also, see visitor-impl.h for the 42 * docs/devel/qapi-code-gen.rst for more about the QAPI code 49 * A visitor should be used for exactly one top-level visit_type_FOO() 68 * qapi-visit-MODULE.h. 78 * The visit_type_FOO() functions take a non-null @obj argument; they 102 * is an additional generated function in qapi-visit-MODULE.h [all …]
|
/qemu/docs/ |
H A D | COLO-FT.txt | 1 COarse-grained LOck-stepping Virtual Machines for Non-stop Service 2 ---------------------------------------- 8 See the COPYING file in the top-level directory. 14 application-agnostic software-implemented hardware fault tolerance, 15 also known as "non-stop service". 17 COLO (COarse-grained LOck-stepping) is a high availability solution. 20 If the response packets from PVM and SVM are identical, they are released 40 identical responses to all client requests. Once the differences in the outputs 45 +------------+ +-----------------------+ +------------------------+ +------------+ 46 | | | HeartBeat +<----->+ HeartBeat | | | [all …]
|
/qemu/target/arm/ |
H A D | cpregs.h | 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 25 #include "target/arm/kvm-consts.h" 52 /* Flag: For ARM_CP_STATE_AA32, sysreg is 64-bit. */ 92 * Flag: Writes to the sysreg might change the exception level - typically 93 * on older ARM chips. For those cases we need to re-read the new el when 98 * Flag: Access check for this sysreg is identical to accessing FPU state 103 * Flag: Access check for this sysreg is identical to accessing SVE state 111 * - UNDEF: discard the cpreg, 112 * - KEEP: retain the cpreg as is, 113 * - C_NZ: set const on the cpreg, but retain resetvalue, [all …]
|
/qemu/util/ |
H A D | qemu-timer.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 26 #include "qemu/main-loop.h" 29 #include "system/cpu-timers.h" 94 return timer_head && (timer_head->expire_time <= current_time); in timer_expired_ns() 105 qemu_event_init(&timer_list->timers_done_ev, true); in timerlist_new() 106 timer_list->clock = clock; in timerlist_new() 107 timer_list->notify_cb = cb; in timerlist_new() 108 timer_list->notify_opaque = opaque; in timerlist_new() 109 qemu_mutex_init(&timer_list->active_timers_lock); in timerlist_new() 110 QLIST_INSERT_HEAD(&clock->timerlists, timer_list, list); in timerlist_new() [all …]
|
/qemu/tests/functional/ |
H A D | test_mem_addr_space.py | 11 # SPDX-License-Identifier: GPL-2.0-or-later 23 # This helper can go away when the 32-bit host deprecation 31 # Non-ELF file implies macOS or Windows which 32 # we already assume to be 64-bit only 35 # bits == 1 -> 32-bit; bits == 2 -> 64-bit 38 # 32-bit ELF builds won't be able to address sufficient 40 self.skipTest("64-bit build host is required") 42 # first, lets test some 32-bit processors. 43 # for all 32-bit cases, pci64_hole_size is 0. 55 Note that 64-bit pci hole size is 0 in this case. If maxmem is set to [all …]
|
/qemu/hw/xen/ |
H A D | xen-host-pci-device.c | 5 * the COPYING file in the top-level directory. 12 #include "hw/xen/xen-legacy-backend.h" 13 #include "hw/xen/xen-bus-helper.h" 14 #include "xen-host-pci-device.h" 17 ((PCIE_CONFIG_SPACE_SIZE - PCI_CONFIG_SPACE_SIZE) / (PCI_CAP_SIZEOF + 4)) 29 #define IORESOURCE_BITS 0x000000ff /* Bus-specific bits */ 39 * Non-passthrough (dom0) accesses are local PCI devices and use the given BDF 41 * either have a BDF identical to the backend's BDF (xen-backend.passthrough=1) 42 * or a local virtual BDF (xen-backend.passthrough=0) 67 snprintf(path, sizeof(path), "dev-%d", i); in xen_host_pci_fill_local_addr() [all …]
|
/qemu/include/hw/xen/interface/ |
H A D | memory.h | 1 /* SPDX-License-Identifier: MIT */ 28 * devices often have a 32-bit limitation even in 64-bit systems). If zero 36 #define XENMEMF_get_node(x) ((((x) >> 8) - 1) & 0xffu) 37 /* Flag to populate physmap with populate-on-demand entries */ 84 * @out.extent_list provides GMFNs of the newly-allocated memory. 119 * command will be non-zero. 141 * specified domain (may be DOMID_SELF). Returns -ve errcode on failure. 149 * Returns -ve errcode on failure. 185 * For a compat caller, this is identical to XENMEM_machphys_mfn_list. 187 * For a non compat caller, this functions similarly to [all …]
|
/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | testacpi.py2 | 4 # SPDX-License-Identifier: BSD-3-Clause 93 # We special-case None here to avoid a double-failure for CPUs without a _PSS 94 …testsuite.test("_PSS must be identical for all CPUs", len(uniques) <= 1 or (len(uniques) == 2 and … 163 # since turbo frequency = max non-turbo frequency + 1 170 while (time.time() - start < 2): 195 …if not testsuite.test("_PSD (P-State Dependency) must exist for each processor", None not in uniqu… 225 …testsuite.test('_PSD.domain must be unique (thread-scoped) for each processor', len(unique_domain)…
|
/qemu/hw/audio/ |
H A D | gusemu_hal.c | 2 * GUSEMU32 - bus interface part 4 * Copyright (C) 2000-2007 Tibor "TS" Schütz 43 gusptr = state->gusdatapos; in gus_read() 76 /* case 1-5: */ /* general purpose emulation regs */ in gus_read() 90 /* case 0x20D: */ /* SB2xD is write only -> 2xE writes to it*/ in gus_read() 95 GUS_irqrequest(state, state->gusirq, 1); in gus_read() 119 if (state->gusdma >= 4) in gus_read() 126 GUS_irqclear(state, state->gusirq); in gus_read() 135 /* 48h: samp freq - write only */ in gus_read() 165 /* (pseudo IRQ-FIFO is processed during a gus_write(0x3X3,0x8f)) */ in gus_read() [all …]
|
/qemu/block/ |
H A D | vhdx.c | 2 * Block driver for Hyper-V VHDX Images 11 * https://www.microsoft.com/en-us/download/details.aspx?id=34750 14 * See the COPYING.LIB file in the top-level directory. 22 #include "system/block-backend.h" 27 #include "qemu/error-report.h" 33 #include "qapi/qobject-input-visitor.h" 34 #include "qapi/qapi-visit-block-core.h" 51 * guids in a MS-specific GUID format. */ 54 /* ------- Known Region Table GUIDs ---------------------- */ 69 /* ------- Known Metadata Entry GUIDs ---------------------- */ [all …]
|
/qemu/include/standard-headers/drm/ |
H A D | drm_fourcc.h | 38 * further describe the buffer's format - for example tiling or compression. 41 * ---------------- 55 * vendor-namespaced, and as such the relationship between a fourcc code and a 57 * may preserve meaning - such as number of planes - from the fourcc code, 63 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 75 * - Kernel and user-space drivers: for drivers it's important that modifiers 79 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users 92 * ----------------------- 97 * upstream in-kernel or open source userspace user does not apply. 221 * IEEE 754-2008 binary16 half-precision float [all …]
|