Home
last modified time | relevance | path

Searched +full:attribute +full:- +full:set (Results 1 – 25 of 115) sorted by relevance

12345

/qemu/include/system/
H A Dkvm.h10 * See the COPYING file in the top-level directory.
14 /* header to be included in non-KVM-specific code */
51 * Returns: true if an in-kernel irqchip was created.
55 * target-independent code: use one of the following functions or
95 * Always available if running with in-kernel irqchip.
228 * There are usually per-arch specifics which will be handled by
230 * fields have been set.
237 return -EINVAL; in kvm_update_guest_debug()
248 * kvm_device_ioctl - call an ioctl on a kvm device
250 * @type: The device-ctrl ioctl number
[all …]
/qemu/docs/devel/testing/
H A Dfunctional.rst1 .. _checkfunctional-ref:
19 that there is no TAP-incompatible output written to stdio, e.g. either by
27 ``self.vm`` attribute (a QEMUMachine instance)
40 -------------
46 make check-functional
53 make check-functional-x86_64
63 $ export QEMU_TEST_QEMU_BINARY=$PWD/qemu-system-x86_64
70 without this variable set.
73 -------
91 -----------------------------
[all …]
H A Dblkdebug.rst5 Copyright (C) 2014-2015 Red Hat Inc
8 the COPYING file in the top-level directory.
10 The ``blkdebug`` block driver is a rule-based error injection engine. It can be
17 ----------
27 -----
35 follows the same .ini-like format used by QEMU's ``-readconfig`` option, and
41 [inject-error]
47 ``/usr/include/asm-generic/errno-base.h`` for errno values.
51 $ qemu-system-x86_64
52 -drive if=none,cache=none,file=blkdebug:blkdebug.conf:test.img,id=drive0 \
[all …]
H A Dqgraph.rst29 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
62 is not set.
63 - QNODE_DRIVER: driver names must be unique, and machines and nodes
72 - ``X CONSUMES Y``: ``Y`` can be plugged into ``X``
[all …]
/qemu/target/xtensa/core-dsp3400/
H A Dcore-matmap.h2 * 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: */
106 * Specific encoded cache attribute values of general interest.
112 #define XCHAL_CA_WRITETHRU 1 /* cache enabled (write-through) mode */
[all …]
/qemu/tests/tcg/aarch64/system/
H A Dmte.S8 * SPDX-License-Identifier: LGPL-2.1-or-later
11 #define addr x0 /* Ptr to the start of the MTE-enabled page. */
12 #define tagged_addr x1 /* 'addr' ptr with a random-generated tag added. */
28 * Set MAIR_EL1 (Memory Attribute Index Register). In boot.S, the
29 * attribute index for .mte_page is set to point to MAILR_EL field Attr1
30 * (AttrIndx=Attr1), so set Attr1 as Tagged Normal (MTE) to enable MTE
40 * Set TCR_EL1 (Translation Control Registers) to ignore the top byte
50 * Set SCTLR_EL1 (System Control Register) to enable the use of MTE
67 * MTE-enabled page resides at the 3rd 2MB chunk in the second 1GB
77 * Set GCR for random tag generation. 0xA5 is just a random value to set
[all …]
/qemu/scripts/tracetool/
H A D__init__.py1 # -*- coding: utf-8 -*-
4 Machinery for generating tracing-related intermediate files.
8 __copyright__ = "Copyright 2012-2017, Lluís Vilanova <vilanova@ac.upc.edu>"
24 """Write a set of error lines."""
28 """Write a set of error lines and exit."""
43 """Write a set of output lines.
112 ----------
132 ----------
197 ----------
202 properties : set(str)
[all …]
/qemu/include/standard-headers/linux/
H A Dvirtio_ring.h35 #include "standard-headers/linux/types.h"
36 #include "standard-headers/linux/virtio_types.h"
40 /* This marks a buffer as write-only (otherwise read-only). */
52 /* The Host uses this in used->flags to advise the Guest: don't kick me when
56 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me
82 * at the end of the avail ring. Host should ignore the avail->flags field. */
84 * at the end of the used ring. Guest should ignore the used->flags field. */
88 * When using pre-virtio 1.0 layout, these fall out naturally.
95 * struct vring_desc - Virtio ring descriptors,
98 * @addr: buffer address (guest-physical)
[all …]
/qemu/qapi/
H A Dmachine-s390x.json1 # -*- Mode: Python -*-
4 # SPDX-License-Identifier: GPL-2.0-or-later
6 # See the COPYING file in the top-level directory.
8 { 'include': 'machine-common.json' }
23 # @set-cpu-topology:
26 # by changing a modifier attribute of a CPU. Absent values will not
29 # @core-id: the vCPU ID to be moved
31 # @socket-id: destination socket to move the vCPU to
33 # @book-id: destination book to move the vCPU to
35 # @drawer-id: destination drawer to move the vCPU to
[all …]
H A Duefi.json1 # -*- Mode: Python -*-
9 # store non-volatile variables in json format on disk.
12 # projects, specifically https://gitlab.com/kraxel/virt-firmware and
13 # https://github.com/awslabs/python-uefivars.
24 # @name: variable name, in UTF-8 encoding.
32 # EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS attribute bit
33 # is set.
/qemu/hw/acpi/
H A Dhmat.h10 * HMAT is defined in ACPI 6.3: 5.2.27 Heterogeneous Memory Attribute Table
30 #include "hw/acpi/bios-linker-loader.h"
35 * Table 5-145, Field "flag", Bit [0]: set to 1 to indicate that data in
/qemu/include/exec/
H A Dmemattrs.h10 * See the COPYING file in the top-level directory.
17 /* Every memory transaction has associated with it a set of
21 * all as non-overlapping bitfields in a single struct to avoid
61 * "didn't specify" if necessary. "debug" can be set alongside
73 * which has all attribute bits clear except the topmost one
79 /* New-style MMIO accessors can indicate that the transaction failed.
81 * of some kind. The memory subsystem will bitwise-OR together results
/qemu/subprojects/libvduse/include/
H A Dcompiler.h4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
[all …]
/qemu/subprojects/libvhost-user/include/
H A Dcompiler.h4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
[all …]
/qemu/include/qemu/
H A Dcompiler.h4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
[all …]
/qemu/include/block/
H A Dgraph-lock.h34 * BlockDriverState ->parents and->children.
129 * and if has_writer is set, it means that the writer is modifying
179 * Make sure that the writer is the main loop and has set @has_writer,
206 * cleanup attribute and would therefore complain that the graph is never
227 * @unlock_var can't be unlocked and then set to NULL because TSA wants the lock
257 * cleanup attribute and would therefore complain that the graph is never
/qemu/target/xtensa/core-de233_fpu/
H A Dcore-matmap.h2 * 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: */
111 * Specific encoded cache attribute values of general interest.
117 #define XCHAL_CA_WRITETHRU 11 /* cache enabled (write-through) mode */
[all …]
/qemu/hw/net/fsl_etsec/
H A Dregisters.c4 * Copyright (c) 2011-2013 AdaCore
41 {0x05C, "FIFO_RX_ALARM_SHUTOFF", "FIFO receive alarm shut-off threshold register", ACC_RW, 0x00000…
44 {0x09C, "FIFO_TX_STARVE_SHUTOFF", "FIFO transmit starve shut-off register", ACC_RW, 0x00000…
53 {0x140, "TR03WT", "TxBD Rings 0-3 round-robin weightings", ACC_RW, 0x00000000},
54 {0x144, "TR47WT", "TxBD Rings 4-7 round-robin weightings", ACC_RW, 0x00000000},
73 {0x280, "TMR_TXTS1_ID", "Tx time stamp identification tag (set 1)", ACC_RO, 0x00000000},
74 {0x284, "TMR_TXTS2_ID", "Tx time stamp identification tag (set 2)", ACC_RO, 0x00000000},
75 {0x2C0, "TMR_TXTS1_H", "Tx time stamp high (set 1)", ACC_RO, 0x00000000},
76 {0x2C4, "TMR_TXTS1_L", "Tx time stamp high (set 1)", ACC_RO, 0x00000000},
77 {0x2C8, "TMR_TXTS2_H", "Tx time stamp high (set 2)", ACC_RO, 0x00000000},
[all …]
/qemu/scripts/
H A Ddevice-crash-test20 # 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
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
81 # devices that don't work out of the box because they require extra options to "-device DEV":
83 {'device':'.*-(i386|x86_64)-cpu', 'expected':True}, # CPU socket-id is not set
[all …]
/qemu/plugins/
H A Dmeson.build6 input: files('../include/qemu/qemu-plugin.h'),
7 output: 'qemu-plugin.symbols',
9 command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@'])
11 # Modules need more symbols than just those in plugins/qemu-plugins.symbols
16 output: 'qemu-plugins-ld64.symbols',
18 command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@'])
19 emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols']
22 # out of the box with dllexport/dllimport attribute we set in the code.
24 emulator_link_args += ['-Xlinker', '--dynamic-list=' + qemu_plugin_symbols.full_path()]
36 command: ['sed', '-e', '0,/^/s//EXPORTS/; s/[{};]//g', '@INPUT@'])
[all …]
/qemu/hw/sh4/
H A Dsh7750_regs.h2 * SH-7750 memory-mapped registers
6 * Document Number ADE-602-124C, Rev. 4.0, 4/21/00, Hitachi Ltd.
8 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
42 * All register has 2 addresses: in 0xff000000 - 0xffffffff (P4 address) and
43 * in 0x1f000000 - 0x1fffffff (area 7 address)
55 /* Page Table Entry High register - PTEH */
64 /* Page Table Entry Low register - PTEL */
70 #define SH7750_PTEL_V 0x00000100 /* Validity (0-entry is invalid) */
73 #define SH7750_PTEL_SZ_1KB 0x00000000 /* 1-kbyte page */
74 #define SH7750_PTEL_SZ_4KB 0x00000010 /* 4-kbyte page */
[all …]
/qemu/tests/qtest/libqos/
H A Dvirtio-9p-client.h7 * See the COPYING file in the top-level directory.
19 #include "hw/9pfs/9p-synth.h"
20 #include "virtio-9p.h"
22 #include "tests/qtest/libqtest-single.h"
24 #define P9_MAX_SIZE 4096 /* Max size of a T-message or R-message */
116 /* if requestOnly was set: request object for further processing */
138 /* if requestOnly was set: request object for further processing */
165 /* if requestOnly was set: request object for further processing */
177 /* bitmask indicating attribute fields to be retrieved (optional) */
191 /* if requestOnly was set: request object for further processing */
[all …]
/qemu/target/mips/tcg/
H A Dtx79.decode1 # Toshiba C790's instruction set
3 # Copyright (C) 2021 Philippe Mathieu-Daudé
5 # SPDX-License-Identifier: LGPL-2.1-or-later
7 # Toshiba Appendix B C790-Specific Instruction Set Details
10 # Named attribute sets. These are used to make nice(er) names
/qemu/docs/interop/
H A Dprl-xml.rst5 Copyright (c) 2015-2017, Virtuozzo, Inc.
8 2015 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
9 2016-2017 Klim Kireev <klim.kireev@virtuozzo.com>
10 2016-2017 Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
13 See the COPYING file in the top-level directory.
24 A Parallels disk consists of two parts: the set of snapshots and the disk
28 -----------
66 a 512-byte data chunk.
69 ----------------
73 The element has only one attribute, ``Version``, which must be ``1.0``.
[all …]
/qemu/docs/system/
H A Dpr-manager.rst13 For this reason, QEMU's SCSI passthrough devices, ``scsi-block``
14 and ``scsi-generic`` (both are only available on Linux) can delegate
20 -----------------------------------------
22 -----------------------------------------
25 "pr-manager" QOM class.
27 Right now only one subclass is defined, ``pr-manager-helper``, which
34 ``pr-manager-helper`` has a single string property, ``path``, which
36 the following command line defines a ``pr-manager-helper`` object and
39 $ qemu-system-x86_64
40 -device virtio-scsi \
[all …]

12345