Home
last modified time | relevance | path

Searched full:for (Results 151 – 175 of 6328) sorted by relevance

12345678910>>...254

/qemu/tests/unit/
H A Dtest-int128.c12 /* clang doesn't support __noclone__ but it does have a mechanism for
51 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_and()
52 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_and()
67 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_add()
68 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_add()
83 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_sub()
84 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_sub()
99 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_neg()
112 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_nz()
113 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_nz()
[all …]
/qemu/include/qapi/
H A Dcompat-policy.h2 * Policy for handling "funny" management interfaces
28 * Create a QObject input visitor for @obj for use with QMP
31 * policy for handling deprecated management interfaces set with
37 * Create a QObject output visitor for @obj for use with QMP
40 * policy for handling deprecated management interfaces set with
/qemu/docs/sphinx/
H A Dqapi_domain.py126 # Explicit title syntax for references is e.g.
166 TOC, and reference targets for QAPI descriptions.
173 # being documented; for QAPI, this is the same as the
182 """Return the text for the index entry of the object."""
184 # NB: this is used for the global index, not the QAPI index.
218 # For QAPI, these are identical, currently.
352 This method was originally intended for handling function
466 f"Valid fields for qapi:{self.objtype} are: {valid}\n"
481 for child in content_node:
483 for field in child.children:
[all …]
/qemu/docs/devel/
H A Dreplay.rst12 Record/replay functions are used for the deterministic replay of qemu
14 can be later used for replaying the execution anywhere and for unlimited
33 * `Deterministic Replay of System's Execution with Multi-target QEMU Simulator for Dynamic Analysis…
38 * wrappers for clock and time functions to save their return values in the log
43 * adding internal checkpoints for cpu and io synchronization
44 * network filter for recording and replaying the packets
45 * block driver for making block layer deterministic
69 the replay_mutex_lock. It used to be held only for each event being
70 written but now it is held for a whole execution period. This results
96 record/replay events used for synchronization.
[all …]
H A Debpf_rss.rst10 For now there are 2 RSS implementations in qemu:
17 If steering BPF is not set for kernel's TUN module, the TUN uses automatic selection
20 If steering BPF is set for TUN the BPF code calculates the hash of packet header and
30 Not for all packets, the hash can/should be calculated.
82 …scriptor of the 'Toeplitz key' map. One element of the 40byte key prepared for the hashing algorit…
88 - populate_hash - for now, not used. eBPF RSS doesn't support hash reporting.
89 …sk of different hash types. See ``VIRTIO_NET_RSS_HASH_TYPE_*`` defines. If for packet hash should …
91 - default_queue - the queue index that used for packet that shouldn't be hashed. For some packets, …
96 ….skeleton.h. Returns 'true' on success. After that, program_fd can be used to set steering for TAP.
97 - ``ebpf_rss_set_all()`` - sets values for eBPF maps. ``indirections_table`` length is in EBPFRSSCo…
[all …]
H A Dwriting-monitor-commands.rst10 For an in-depth introduction to the QAPI framework, please refer to
11 :doc:`qapi-code-gen`. For the QMP protocol, see the
20 unstructured text`_ section for further guidance on commands that
49 For all the examples in the next sections, the test setup is the same and is
123 earlier, it's preferable for commands to live in QEMU subsystems. But
141 5. Printing to the terminal is discouraged for QMP commands, we do it here
149 Then check the terminal running QEMU and look for the "Hello, world" string. If
190 for (int i = 0; i < times; i++) {
267 error for special handling
302 1. The "mon" and "qdict" arguments are mandatory for all HMP functions. The
[all …]
/qemu/docs/devel/testing/
H A Dblkdebug.rst47 ``/usr/include/asm-generic/errno-base.h`` for errno values.
59 ``flush_to_os``, ``flush_to_disk``). See `Events`_ for
63 (optional) the engine must be in this state number in order for this
64 rule to match. See `State transitions`_ for information
89 to make so rules can match specific types of requests. For example, the ``qcow2``
107 See ``qapi/block-core.json:BlkdebugEvent`` for the full list of events.
114 a longer sequence of requests. For example::
125 observed from outside but rules can interact with it for powerful matching
132 the attribute in order for the rule to match.
134 For example, to match the 2nd write_aio::
[all …]
/qemu/include/hw/xen/interface/
H A Dsched.h18 * The SCHEDOP interface provides mechanisms for a guest to interact
24 * The prototype for this hypercall is:
50 * Block execution of this VCPU until an event is received for processing.
52 * reenable event delivery and check for pending events before blocking the
63 * x86 PV guests must also set RDX (EDX for 32-bit guests) to the MFN
81 * Declare a shutdown for another domain. The main use of this function is
82 * in interpreting shutdown requests and reasons for fully-virtualized
91 * @arg == sched_shutdown_t, as for SCHEDOP_shutdown.
112 * This call is allowed for the hardware domain only and requires the cpu
153 * Reason codes for SCHEDOP_shutdown. These may be interpreted by control
[all …]
/qemu/bsd-user/freebsd/
H A Dtarget_os_stack.h13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
32 * Hi Address -> char **ps_argvstr (struct ps_strings for ps, w, etc.)
40 * execpath (absolute image path for rtld)
60 /* Save some space for ps_strings. */ in setup_initial_stack()
78 /* Add canary for SSP. */ in setup_initial_stack()
96 * for user trying to use the stack as intended. in setup_initial_stack()
102 for (i = 0; i < bprm->argc; ++i) { in setup_initial_stack()
105 for (i = 0; i < bprm->envc; ++i) { in setup_initial_stack()
112 /* Make room for the argv and envp strings */ in setup_initial_stack()
[all …]
/qemu/docs/
H A Dglossary.rst21 Another name for :ref:`machine`.
28 options page)<sec_005finvocation>` are using them to implement disks for a
46 using a hardware-based accelerator, it is responsible for emulating, using
105 Xen as well). For MacOS, it's HVF. Windows defines WHPX. And NetBSD provides
136 review and share feedback for.
138 For reporting issues, our `GitLab
146 The Memory Management Unit is responsible for translating virtual addresses to
149 (Translation lookaside buffer), for the guest virtual machine.
161 QMP stands for QEMU Monitor Protocol and is a json based interface.
162 HMP stands for Human Monitor Protocol and is a set of text commands available
[all …]
H A Dthrottle.txt23 second and the number of operations per second (IOPS). For each one of
24 them the user can set a global limit or separate limits for read and
29 the parameters for both cases:
42 It is possible to set limits for both IOPS and bps at the same time,
43 and for each case we can decide whether to have separate read and
74 user to do bursts of I/O for a configurable amount of time. A burst is
81 I/O they allow. These two can be configured separately for each one of
88 bursts of 2000 IOPS for 60 seconds, we would do it like this (the line
89 is split for clarity):
113 IOPS for 1 minute before it's throttled down to 100 IOPS.
[all …]
/qemu/tests/qemu-iotests/
H A D3006 # Tests for dirty bitmaps migration with node aliases
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
58 for _ in range(9):
68 for name in ('dirty-bitmaps', 'events')]
70 for vm in (self.vm_a, self.vm_b):
96 with iotests.Timeout(5, 'Timeout waiting for migration to complete'):
137 Check for success if @error is None, or verify the error message
163 for node in mapping:
167 for bitmap in node['bitmaps']:
[all …]
H A D0145 # Using patterns for 4k cluster size.
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
43 # much of this could be generic for any format supporting snapshots
57 for offset in $TEST_OFFSETS; do
64 for i in `seq 1 3`; do
66 for offset in $TEST_OFFSETS; do
68 for op in $TEST_OPS; do
/qemu/hw/misc/
H A Dexynos4210_pmu.c14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
63 * Offsets for PMU registers
70 /* Sets control options for CENTRAL_SEQ */
164 #define ARM_CORE0_OPTION 0x2008 /* Sets control options for ARM_CORE0 */
167 #define ARM_CORE1_OPTION 0x2088 /* Sets control options for ARM_CORE0 */
168 #define ARM_COMMON_OPTION 0x2408 /* Sets control options for ARM_COMMON */
175 /* Sets control options for PAD_RETENTION_MAUDIO */
177 /* Sets control options for PAD_RETENTION_GPIO */
179 /* Sets control options for PAD_RETENTION_UART */
[all …]
/qemu/hw/arm/
H A Dfsl-imx6ul.c15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
70 for (i = 0; i < FSL_IMX6UL_NUM_GPIOS; i++) { in fsl_imx6ul_init()
78 for (i = 0; i < FSL_IMX6UL_NUM_GPTS; i++) { in fsl_imx6ul_init()
86 for (i = 0; i < FSL_IMX6UL_NUM_EPITS; i++) { in fsl_imx6ul_init()
94 for (i = 0; i < FSL_IMX6UL_NUM_ECSPIS; i++) { in fsl_imx6ul_init()
102 for (i = 0; i < FSL_IMX6UL_NUM_I2CS; i++) { in fsl_imx6ul_init()
110 for (i = 0; i < FSL_IMX6UL_NUM_UARTS; i++) { in fsl_imx6ul_init()
118 for (i = 0; i < FSL_IMX6UL_NUM_ETHS; i++) { in fsl_imx6ul_init()
126 for (i = 0; i < FSL_IMX6UL_NUM_USB_PHYS; i++) { in fsl_imx6ul_init()
[all …]
/qemu/docs/specs/
H A Dpci-ids.rst2 PCI IDs for QEMU
5 Red Hat, Inc. donates a part of its device ID range to QEMU, to be used for
9 for your devices.
14 The 1000 -> 10ff device ID range is used as follows for virtio-pci devices.
36 ID range for modern virtio devices. The PCI device
40 defines for all virtio IDs (``linux/virtio_ids.h``); QEMU has a
44 Available for experimental usage without registration. Must get
49 Used as PCI Subsystem ID for existing hardware devices emulated
60 The 0000 -> 00ff device ID range is used as follows for QEMU-specific
106 The 0100 device ID is used for the QXL video card device.
/qemu/include/hw/
H A Dboards.h1 /* Declarations for use by board files for creating devices. */
17 /* Machine class name that needs to be used for class-name-based machine
69 * for the special cases which are permitted for this machine model, the
77 * type for the machine class.
115 * Checks that backend isn't used, preps it for exclusive usage and
140 * @cpus - array of present or possible CPUs for current machine configuration
186 * for a given @dev. It may return NULL if @dev doesn't require
202 * which includes CPU IDs for present and possible to hotplug CPUs.
203 * Caller is responsible for freeing returned list.
205 * returns default board specific node_id value for CPU slot specified by
[all …]
/qemu/include/net/
H A Dnet.h16 /* Maximum GSO packet size (64k) plus plenty of room for
199 * @alias: Additional model string to match (for user convenience and
202 * Search for a NIC configuration matching the NIC model constraints.
212 * Search for a NIC configuration for the provided device, using the
217 * regardless of whether there is a configuration for it. This tends
219 * anyway, for example because the Ethernet device on that board is
226 * qemu_create_nic_device: Create a NIC device if a configuration exists for it
231 * Search for a NIC configuration for the provided device type. If found,
238 * qemu_create_nic_bus_devices: Create configured NIC devices for a given bus
240 * @parent_type: Object type for devices to be created (e.g. TYPE_PCI_DEVICE)
[all …]
/qemu/include/block/
H A Dblock-common.h18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
212 * If we need to wait for other requests, just fail immediately. Used
224 #define BDRV_O_RESIZE 0x0004 /* request permission for resizing the node */
234 #define BDRV_O_INACTIVE 0x0800 /* consistency hint for migration handoff */
235 #define BDRV_O_CHECK 0x1000 /* open solely for consistency check */
241 #define BDRV_O_NO_IO 0x10000 /* don't initialize for I/O */
246 #define BDRV_O_CBW_DISCARD_SOURCE 0x80000 /* for copy-before-write filter */
280 * size, let's define maximum "length" (a limit for any offset/bytes request and
281 * for disk size) to be the greatest power of 2 less than INT64_MAX.
[all …]
/qemu/tests/tcg/multiarch/system/
H A Dmemory.c6 * We are not replicating memory tests for stuck bits and other
7 * hardware level failures but looking for issues with different size
51 * Helper macros for endian handling.
64 * Fill the data with ascending (for little-endian) or descending (for
76 for (i = 0; i < TEST_SIZE; i++) { in init_test_data_u8()
86 * should mean for reads larger than a byte all subsequent reads will
102 for (i = 0; i < TEST_SIZE / 2; i++) { in init_test_data_s8()
112 * Zero the first few bytes of the test data in preparation for
126 for (i = 0; i < offset; i++) { in reset_start_data()
145 for (i = 0; i < max; i++) { in init_test_data_u16()
[all …]
/qemu/linux-headers/asm-x86/
H A Dkvm.h57 /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */
111 /* for KVM_GET_REGS and KVM_SET_REGS */
121 /* for KVM_GET_LAPIC and KVM_SET_LAPIC */
144 /* for KVM_GET_SREGS and KVM_SET_SREGS */
169 /* for KVM_GET_FPU and KVM_SET_FPU */
190 /* for KVM_GET_MSRS and KVM_SET_MSRS */
198 /* for KVM_GET_MSR_INDEX_LIST */
207 /* for KVM_X86_SET_MSR_FILTER */
237 /* for KVM_SET_CPUID */
259 /* for KVM_SET_CPUID2 */
[all …]
/qemu/docs/system/
H A Dintroduction.rst45 for efficient operation under virtualisation. Some of the device
47 vhost-user (for VirtIO) or :ref:`Multi-process QEMU`. If the platform
50 :ref:`device-emulation` for more details.
53 which allows for construction of complex storage topology which can be
57 The flexible ``chardev`` system allows for handling IO from character
70 For the common accelerators QEMU, supported debugging with its
80 may not be optimal for modern systems.
82 For a non-x86 system where we emulate a broad range of machine types,
107 Most options will generate some help information. So for example:
114 can also be passed as an argument to another option. For example:
[all …]
/qemu/scripts/simplebench/
H A Dbench-backup.py14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
41 dirs = dict(d.split(':') for d in args.dir)
50 for t in args.test:
54 raise ValueError("Can't use 'nbd' label for both src and dst")
75 for c in target_caches:
92 for i, q in enumerate(args.env):
107 for i, q in enumerate(args.env):
126 for opt in opts:
179 LABEL short name for the binary
[all …]
/qemu/linux-headers/linux/
H A Diommufd.h15 * The ioctl interface follows a general format to allow for extensibility. Each
21 * ioctls use a standard meaning for common errnos:
78 * @out_ioas_id: Output IOAS ID for the allocated object
109 * @out_iova_alignment: Minimum alignment required for mapping IOVA
111 * Query an IOAS for ranges of allowed IOVAs. Mapping IOVA outside these ranges
120 * for mapping.
154 * Ensure a range of IOVAs are always available for allocation. If this call
179 * enum iommufd_ioas_map_flags - Flags for map and copy
224 * @flags: same as for iommu_ioas_map
225 * @ioas_id: same as for iommu_ioas_map
[all …]
/qemu/target/hexagon/
H A Ddecode.c11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
39 * For example, the compound compare-and-jump instruction can only access
55 /* Helper functions for decode_*_generated.c.inc */
65 /* Helper function for decodetree_trans_funcs_generated.c.inc */ in DECODE_MAPPED()
77 /* Include the generated decoder for 32 bit insn */
81 /* Include the generated decoder for 16 bit insn */
88 /* Include the generated helpers for the decoder */
106 for (i = start; i != newloc; i += direction) { in decode_send_insn_to()
119 for (i = 1; i < packet->num_insns; i++) { in decode_fill_newvalue_regno()
[all …]

12345678910>>...254