Home
last modified time | relevance | path

Searched +full:maximum +full:- +full:speed (Results 1 – 25 of 49) sorted by relevance

12

/qemu/include/block/
H A Dblock_int-global-state.h29 #include "block/block_int-common.h"
31 #include "qemu/main-loop.h"
36 * See include/block/block-global-state.h for more information about
42 * @job_id: The id of the newly-created job, or %NULL to use the
53 * @speed: The maximum speed, in bytes per second, or 0 for unlimited.
71 int creation_flags, int64_t speed,
78 * @job_id: The id of the newly-created job, or %NULL to use the
85 * @speed: The maximum speed, in bytes per second, or 0 for unlimited.
98 int creation_flags, int64_t speed,
104 * @job_id: The id of the newly-created job, or %NULL to use the
[all …]
H A Dblockjob_int.h2 * Declarations for long-running block device operations
41 * I/O API functions. These functions are thread-safe.
43 * See include/block/block-io.h for more information about
58 * See include/block/block-global-state.h for more information about
65 * besides job->blk to the new AioContext.
69 void (*set_speed)(BlockJob *job, int64_t speed);
87 * See include/block/block-global-state.h for more information about
93 * @job_id: The id of the newly-created job, or %NULL to have one
95 * @driver: The class object for the newly-created job.
99 * @speed: The maximum speed, in bytes per second, or 0 for unlimited.
[all …]
H A Dblock-copy.h9 * Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
12 * See the COPYING file in the top-level directory.
18 #include "block/block-common.h"
21 /* All APIs are thread-safe */
52 * Run block-copy in a coroutine, create corresponding BlockCopyCallState
58 * @max_workers means maximum of parallel coroutines to execute sub-requests,
61 * @max_chunk means maximum length for one IO operation. Zero means unlimited.
71 * block-copy will crash.
76 * Note, that block-copy call is marked finished prior to calling
85 void block_copy_set_speed(BlockCopyState *s, uint64_t speed);
[all …]
/qemu/include/standard-headers/linux/
H A Dethtool.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
19 #include "standard-headers/linux/const.h"
20 #include "standard-headers/linux/types.h"
21 #include "standard-headers/linux/if_ether.h"
26 * have the same layout for 32-bit and 64-bit userland.
38 * struct ethtool_cmd - DEPRECATED, link control and status
43 * interface supports autonegotiation or auto-detection.
44 * Read-only.
48 * auto-detection.
49 * @speed: Low bits of the speed, 1Mb units, 0 to INT_MAX or SPEED_UNKNOWN
[all …]
H A Dpci_regs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Copyright 1997--1999 Martin Mares <mj@ucw.cz>
25 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of
26 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of
50 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */
59 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */
83 #define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */
124 /* 0x35-0x3b are reserved */
130 /* Header type 1 (PCI-to-PCI bridges) */
158 /* 0x35-0x3b is reserved */
[all …]
H A Dvirtio_net.h28 #include "standard-headers/linux/types.h"
29 #include "standard-headers/linux/virtio_ids.h"
30 #include "standard-headers/linux/virtio_config.h"
31 #include "standard-headers/linux/virtio_types.h"
32 #include "standard-headers/linux/if_ether.h"
59 #define VIRTIO_NET_F_DEVICE_STATS 50 /* Device can provide device-level statistics. */
97 /* Maximum number of each of transmit and receive queues;
102 /* Default maximum transmit unit advice */
105 * speed, in units of 1Mb. All values 0 to INT_MAX are legal.
108 uint32_t speed; member
[all …]
/qemu/qapi/
H A Dblock-core.json1 # -*- 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 Dmigration.json1 # -*- Mode: Python -*-
28 # @normal-bytes: number of normal bytes sent (since 1.2)
30 # @dirty-pages-rate: number of pages dirtied by second by the guest
35 # @dirty-sync-count: number of times that dirty ram was synchronized
38 # @postcopy-requests: The number of page requests received from the
41 # @page-size: The number of bytes per page for the various page-based
44 # @multifd-bytes: The number of bytes sent through multifd (since 3.0)
46 # @pages-per-second: the number of memory pages transferred per second
49 # @precopy-bytes: The number of bytes sent in the pre-copy phase
52 # @downtime-bytes: The number of bytes sent while the guest is paused
[all …]
/qemu/docs/
H A Dqcow2-cache.txt3 Copyright (C) 2015, 2018-2020 Igalia, S.L.
7 later. See the COPYING file in the top-level directory.
10 ------------
18 Please refer to the docs/interop/qcow2.rst file for an in-depth
23 --------
30 The 'qemu-img create' command supports specifying the size using the
33 qemu-img create -f qcow2 -o cluster_size=128K hd.qcow2 4G
37 -------------
38 The qcow2 format uses a two-level structure to map the virtual disk as
50 an L2 cache in memory to speed up disk access.
[all …]
H A Drdma.txt31 data copies by bypassing the host networking stack. In particular, a TCP-based
32 migration, under certain types of memory-bound workloads, may take a more
38 over Converged Ethernet) as well as Infiniband-based. This implementation of
56 of RDMA migration may in fact be harmful to co-located VMs or other
65 bulk-phase round of the migration and can be enabled for extremely
66 high-performance RDMA hardware using the following command:
69 $ migrate_set_capability rdma-pin-all on # disabled by default
74 On the other hand, this will also significantly speed up the bulk round
89 First, set the migration speed to match your hardware's capabilities:
92 $ migrate_set_parameter max-bandwidth 40g # or whatever is the MAX of your RDMA device
[all …]
/qemu/include/hw/virtio/
H A Dvirtio-net.h10 * the COPYING file in the top-level directory.
18 #include "standard-headers/linux/virtio_net.h"
26 #define TYPE_VIRTIO_NET "virtio-net-device"
38 /* Maximum VIRTIO_NET_CTRL_MAC_TABLE_SET unicast + multicast entries. */
42 * The maximum number of VLANs in the VLAN filter table
55 int32_t speed; member
136 /* Maximum packet size we can receive from tap device: header + 64k */
173 /* RSC Chains - temporary storage of coalesced data,
/qemu/tests/qemu-iotests/
H A D22051 _make_test_img -o 'cluster_size=2M,refcount_bits=1' 513T
62 truncate --size=38m "$TEST_IMG"
64 $QEMU_IO_PROG -f raw -c "w -P 0xff 4m 2m" "$TEST_IMG" | _filter_qemu_io
68 $QEMU_IO_PROG -f raw -c "w -P 0xff $offs 2m" "$TEST_IMG" | _filter_qemu_io
72 # FIXME: 'qemu-img check' doesn't diagnose refcounts beyond the end of
75 stat -c 'image size %s' "$TEST_IMG"
79 # maximum offset that a compressed 2M cluster can reside in
80 $QEMU_IO_PROG -c 'w -c 0 2m' "$TEST_IMG" | _filter_qemu_io
82 stat -c 'image size %s' "$TEST_IMG"
86 $QEMU_IO_PROG -c 'w 0 2m' "$TEST_IMG" | _filter_qemu_io
[all …]
/qemu/docs/devel/
H A Dqapi-domain.rst6 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`_
10 <https://www.sphinx-doc.org/en/master/usage/domains/python.html>`_
16 <https://www.sphinx-doc.org/en/master/usage/domains/index.html>`_
17 provides a set of special rST directives and cross-referencing roles to
21 <https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html>`_
31 understanding the cross-referencing syntax *will* be helpful when
64 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists>`_
66 <https://www.sphinx-doc.org/en/master/usage/domains/python.html#info-field-lists>`_
68 example, add cross-references. The QAPI Domain takes advantage of this
81 * May apply cross-reference roles to *either* the argument *or* the
[all …]
/qemu/block/
H A Dstream.c10 * See the COPYING.LIB file in the top-level directory.
21 #include "system/block-backend.h"
22 #include "block/copy-on-read.h"
26 * Maximum chunk size to feed to copy-on-read. This should be
67 unfiltered_bs = bdrv_skip_filters(s->target_bs); in stream_prepare()
72 bdrv_cor_filter_drop(s->cor_filter_bs); in stream_prepare()
73 s->cor_filter_bs = NULL; in stream_prepare()
89 base = bdrv_filter_or_cow_bs(s->above_base); in stream_prepare()
96 base_id = s->backing_file_str ?: unfiltered_base->filename; in stream_prepare()
97 if (unfiltered_base->drv) { in stream_prepare()
[all …]
/qemu/include/hw/xen/interface/io/
H A Dblkif.h1 /* 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
63 *------------------ Backend Device Identification (PRIVATE) ------------------
78 * physical-device
85 * physical-device-path
[all …]
H A Dusbif.h1 /* SPDX-License-Identifier: MIT */
32 * under "backend/<guest-dom-id>/qusb".
41 * "conn-ring".
44 * responses). This is the "urb-ring".
63 *------------------ Backend Device Identification (PRIVATE) ------------------
65 * num-ports
70 * usb-ver
78 * Physical USB device connected to the given port, e.g. "3-1.5".
84 *----------------------- Request Transport Parameters -----------------------
86 * event-channel
[all …]
/qemu/hw/smbios/
H A Dsmbios.c4 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P.
12 * the COPYING file in the top-level directory.
14 * Contributions after 2012-01-13 are licensed under the terms of the
21 #include "qemu/config-file.h"
34 * SMBIOS tables provided by user with '-smbios file=<foo>' option
110 uint16_t speed; member
302 .name = "max-speed",
304 .help = "max speed in MHz",
306 .name = "current-speed",
308 .help = "speed at system boot in MHz",
[all …]
/qemu/hw/net/
H A De1000x_regs.h4 Copyright(c) 1999 - 2006 Intel Corporation.
23 e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
24 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
115 * RW - register is both readable and writable
116 * RO - register is read only
117 * WO - register is write only
118 * R/clr - register is read only and is cleared when read
119 * A - register array
121 #define E1000_CTRL 0x00000 /* Device Control - RW */
122 #define E1000_CTRL_DUP 0x00004 /* Device Control Duplicate (Shadow) - RW */
[all …]
/qemu/
H A Dhmp-commands.hx27 .help = "commit changes to the disk images (if -snapshot is used) or backing files",
33 Commit changes to the disk images (if -snapshot is used) or backing files.
70 available during the preconfig state (i.e. when the --preconfig command
94 .args_type = "device:B,speed:o?,base:s?",
95 .params = "device [speed [base]]",
108 .args_type = "device:B,speed:o",
109 .params = "device speed",
110 .help = "set maximum speed for a background block operation",
117 Set maximum speed for a background block operation.
122 .args_type = "force:-f,device:B",
[all …]
/qemu/docs/specs/
H A Drocker.rst23 --------
30 -------------------------
39 * Register are (R) read-only, (R/W) read/write, (W) write-only, or (COR) clear
41 * TLV values in network-byte-order are designated with (N).
48 -----------------------
53 ---------------------------------------------
62 0xF 1 Built-in self test
65 0x18-28 Reserved
68 0x30-38 Reserved
77 * Assigned by sub-system implementation
[all …]
/qemu/hw/sd/
H A Dsdhci-internal.h8 * Based on MMC controller for Samsung S5PC1xx-based board emulation
197 FIELD(SDHC_HOSTCTL2, V18_ENA, 3, 1); /* UHS-I only */
198 FIELD(SDHC_HOSTCTL2, DRIVER_STRENGTH, 4, 2); /* UHS-I only */
199 FIELD(SDHC_HOSTCTL2, EXECUTE_TUNING, 6, 1); /* UHS-I only */
200 FIELD(SDHC_HOSTCTL2, SAMPLING_CLKSEL, 7, 1); /* UHS-I only */
240 /* HWInit Maximum Current Capabilities Register 0x0 */
296 * - 3.3v and 1.8v voltages
297 * - SDMA/ADMA1/ADMA2
298 * - high-speed
304 * - 3.0v voltage
[all …]
H A Dsdhci.c10 * Based on MMC controller for Samsung S5PC1xx-based board emulation
29 #include "qemu/error-report.h"
32 #include "hw/qdev-properties.h"
38 #include "sdhci-internal.h"
43 #define TYPE_SDHCI_BUS "sdhci-bus"
52 return 1 << (9 + FIELD_EX32(s->capareg, SDHC_CAPAB, MAXBLOCKLENGTH)); in DECLARE_INSTANCE_CHECKER()
59 if (s->sd_spec_version >= 3) { in sdhci_check_capab_freq_range()
68 "in range 0-63 only", desc); in sdhci_check_capab_freq_range()
76 uint64_t msk = s->capareg; in sdhci_check_capareg()
80 switch (s->sd_spec_version) { in sdhci_check_capareg()
[all …]
/qemu/hw/arm/
H A Dxlnx-versal-virt.c13 #include "qemu/error-report.h"
20 #include "hw/qdev-properties.h"
21 #include "hw/arm/xlnx-versal.h"
26 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt")
61 s->fdt = create_device_tree(&s->fdt_size); in fdt_create()
62 if (!s->fdt) { in fdt_create()
68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create()
70 s->phandle.ethernet_phy[i] = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
72 s->phandle.clk_25Mhz = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
[all …]
/qemu/include/libdecnumber/
H A DdecNumberLocal.h29 02110-1301, USA. */
31 /* ------------------------------------------------------------------ */
33 /* ------------------------------------------------------------------ */
38 /* ------------------------------------------------------------------ */
49 /* Conditional code flag -- set this to match hardware platform */
50 /* 1=little-endian, 0=big-endian */
57 /* Conditional code flag -- set this to 1 for best performance */
60 /* Conditional check flags -- set these to 0 for best performance */
67 /* should be a common maximum precision */
71 /* ---------------------------------------------------------------- */
[all …]
/qemu/migration/
H A Doptions.c4 * Copyright (c) 2012-2023 Red Hat Inc
11 * See the COPYING file in the top-level directory.
15 #include "qemu/error-report.h"
17 #include "qapi/clone-visitor.h"
19 #include "qapi/qapi-commands-migration.h"
20 #include "qapi/qapi-visit-migration.h"
28 #include "migration-stats.h"
29 #include "qemu-file.h"
34 /* Maximum migrate downtime set to 2000 seconds */
38 #define MAX_THROTTLE (128 << 20) /* Migration transfer speed throttling */
[all …]

12