Home
last modified time | relevance | path

Searched +full:fixed +full:- +full:length (Results 1 – 25 of 110) sorted by relevance

12345

/qemu/qapi/
H A Daudio.json1 # -*- mode: python -*-
4 # Copyright (C) 2015-2019 Zoltán Kővágó <DirtY.iCE.hu@gmail.com>
7 # See the COPYING file in the top-level directory.
19 # @mixing-engine: use QEMU's mixing engine to mix all streams inside
21 # backend. When set to off, fixed-settings must be also off
24 # @fixed-settings: use fixed settings for host input/output. When
28 # @frequency: frequency to use when using fixed settings (default
31 # @channels: number of channels when using fixed settings (default 2)
35 # @format: sample format to use when using fixed settings (default
38 # @buffer-length: the buffer length in microseconds
[all …]
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 …]
/qemu/include/block/
H A Dnbd.h24 #include "io/channel-socket.h"
44 * once; must be large enough to allow a MULTI_CONN-aware client like
45 * nbdcopy to create its typical number of 8-16 sockets.
49 /* Handshake phase structs - this struct is passed on the wire */
54 uint32_t length; member
61 uint32_t length; member
65 NBDOptionReply h; /* h.type = NBD_REP_META_CONTEXT, h.length > 4 */
89 uint64_t len; /* Effect length; 32 bit limit without extended headers */
108 uint32_t length; /* length of payload */ member
117 uint64_t length; /* length of payload */ member
[all …]
/qemu/block/
H A Dvhdx.c2 * 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 …]
H A Dvhdx.h2 * 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.
32 * |----------|---------------|------------|--------------|--------------------|
47 * A note on the use of MS-GUID fields. For more details on the GUID,
51 * bytes are data1-data4. It makes no mention of what algorithm should be used
58 /* ---- HEADER SECTION STRUCTURES ---- */
66 uint16_t creator[256]; /* optional; utf-16 string to identify
72 /* the guid is a 16 byte unique ID - the definition for this used by
73 * Microsoft is not just 16 bytes though - it is a structure that is defined,
[all …]
/qemu/scsi/
H A Dutils.c43 return -1; in scsi_cdb_xfer()
49 uint8_t *buf = cmd->buf; in scsi_cmd_lba()
65 lba = -1; in scsi_cmd_lba()
90 cdb_len = -1; in scsi_cdb_length()
205 /* Illegal request, Parameter list length error */
333 * Convert between fixed and descriptor sense buffers
336 uint8_t *buf, int len, bool fixed) in scsi_convert_sense() argument
342 return scsi_build_sense_buf(buf, len, SENSE_CODE(NO_SENSE), fixed); in scsi_convert_sense()
346 if (fixed == fixed_in) { in scsi_convert_sense()
351 return scsi_build_sense_buf(buf, len, sense, fixed); in scsi_convert_sense()
[all …]
/qemu/include/hw/s390x/
H A Dsclp.h10 * option) any later version. See the COPYING file in the top-level directory.
18 #include "target/s390x/cpu-qom.h"
83 * - some of the embedded structures below the SCCB can appear multiple times
84 * at different locations, so there is no fixed offset
85 * - we work on a private copy of the SCCB, since there are several length
93 uint16_t length; member
99 #define SCCB_DATA_LEN (SCCB_SIZE - sizeof(SCCBHeader))
118 uint8_t _reserved1[15 - 11]; /* 11-14 */
119 uint8_t stsi_parm; /* 15-15 */
120 uint16_t entries_cpu; /* 16-17 */
[all …]
/qemu/tests/qemu-iotests/
H A Dpylintrc6 # file where it should appear only once). You can also use "--disable=all" to
8 # you want to run only the similarities checker, you can use "--disable=all
9 # --enable=similarities". If you want to run only the classes checker, but have
10 # no Warning level messages displayed, use "--disable=all --enable=classes
11 # --disable=W".
12 disable=invalid-name,
13 no-else-return,
14 too-few-public-methods,
15 too-many-arguments,
16 too-many-positional-arguments,
[all …]
H A D26135 rm -f "$TEST_IMG".v{2,3}.orig
36 rm -f "$TEST_DIR"/sn{0,1,2}{,-pre,-extra,-post}
44 # This tests qcow2-specific low-level functionality
89 if [ $extra_len -ge 8 ]; then
92 if [ $extra_len -ge 16 ]; then
95 if [ $extra_len -ge 24 ]; then
98 if [ $extra_len -gt 24 ]; then
100 "$(peek_file_raw "$1" $((extra_ofs + 16)) $((extra_len - 16)) \
101 | tr -d '\0')"
121 while [ $cluster -lt $ecluster ]; do
[all …]
/qemu/bsd-user/freebsd/
H A Dos-sys.c4 * Copyright (c) 2013-15 Stacey D. Son
27 * Length for the fixed length types.
28 * 0 means variable length for strings and structures
30 * Note: Not all types appear to be used in-tree.
64 * Limit the amount of available memory to be most of the 32-bit address
68 static const abi_ulong guest_max_mem = UINT32_MAX - 0x100c000 + 1;
106 * placeholder until bsd-user downstream upstreams this with its thread support
147 * the kernel and pass it to us. We do the down conversion and adjust the length
148 * so the caller knows what to write as the returned length into the target when
166 * this way. *holdlen has been set by the kernel to the host's length. in h2g_old_sysctl()
[all …]
/qemu/crypto/
H A Drsakey-nettle.c.inc30 mpi->data = g_memdup2(i->data, i->length);
31 mpi->len = i->length;
38 i->type != ASN1_INTEGER) {
73 !GetMPI(&i, &rsa->n) ||
74 !GetMPI(&i, &rsa->e) ||
75 !GetMPI(&i, &rsa->d) ||
76 !GetMPI(&i, &rsa->p) ||
77 !GetMPI(&i, &rsa->q) ||
78 !GetMPI(&i, &rsa->dp) ||
79 !GetMPI(&i, &rsa->dq) ||
[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},
90 {0x340, "MRBLR", "Maximum receive buffer length register", ACC_RW, 0x00000000},
116 {0x508, "IPGIFG", "Inter-packet/inter-frame gap register", ACC_RW, 0x40605060},
117 {0x50C, "HAFDUP", "Half-duplex control", ACC_RW, 0x00A1F037},
118 {0x510, "MAXFRM", "Maximum frame length", ACC_RW, 0x00000600},
161 {0x680, "TR64", "Transmit and receive 64-byte frame counter ", ACC_RW, 0x0000000…
[all …]
/qemu/libdecnumber/dpd/
H A Ddecimal128.c1 /* Decimal 128-bit format module for the decNumber C Library.
29 02110-1301, USA. */
31 /* ------------------------------------------------------------------ */
32 /* Decimal 128-bit format module */
33 /* ------------------------------------------------------------------ */
41 /* ------------------------------------------------------------------ */
66 /* ------------------------------------------------------------------ */
67 /* decimal128FromNumber -- convert decNumber to decimal128 */
82 /* ------------------------------------------------------------------ */
91 uInt targar[4]={0,0,0,0}; /* target 128-bit */ in decimal128FromNumber()
[all …]
H A Ddecimal32.c1 /* Decimal 32-bit format module for the decNumber C Library.
29 02110-1301, USA. */
31 /* ------------------------------------------------------------------ */
32 /* Decimal 32-bit format module */
33 /* ------------------------------------------------------------------ */
41 /* ------------------------------------------------------------------ */
66 /* ------------------------------------------------------------------ */
67 /* decimal32FromNumber -- convert decNumber to decimal32 */
82 /* ------------------------------------------------------------------ */
91 uInt targ=0; /* target 32-bit */ in decimal32FromNumber()
[all …]
/qemu/hw/net/
H A Dnet_rx_pkt.h14 * See the COPYING file in the top-level directory.
45 * returns total length of data attached to rx context
58 * @iov: received data scatter-gather list
201 * attach scatter-gather data to rx packet
204 * @iov: received data scatter-gather list
216 * attach scatter-gather data to rx packet
219 * @iov: received data scatter-gather list
237 * @len: data length
335 * @ret: true if checksum was fixed, false in case packet is
/qemu/include/libdecnumber/
H A DdecContext.h29 02110-1301, USA. */
31 /* ------------------------------------------------------------------ */
33 /* ------------------------------------------------------------------ */
37 /* status -- [any bits may be cleared, but not set, by user] */
38 /* round -- must be one of the enumerated rounding modes */
40 /* The following variables are implied for fixed size formats (i.e., */
44 /* clamp -- must be either 0 or 1 */
45 /* digits -- must be in the range 1 through 999999999 */
46 /* emax -- must be in the range 0 through 999999999 */
47 /* emin -- must be in the range 0 through -999999999 */
[all …]
/qemu/block/export/
H A Dfuse.c24 #include "block/block_int-common.h"
29 #include "qapi/qapi-commands-block.h"
30 #include "qemu/main-loop.h"
31 #include "system/block-backend.h"
86 aio_set_fd_handler(exp->common.ctx, in fuse_export_drained_begin()
87 fuse_session_fd(exp->fuse_session), in fuse_export_drained_begin()
89 exp->fd_handler_set_up = false; in fuse_export_drained_begin()
97 exp->common.ctx = blk_get_aio_context(exp->common.blk); in fuse_export_drained_end()
99 aio_set_fd_handler(exp->common.ctx, in fuse_export_drained_end()
100 fuse_session_fd(exp->fuse_session), in fuse_export_drained_end()
[all …]
/qemu/tests/qtest/
H A Dvirtio-scsi-test.c8 * See the COPYING file in the top-level directory.
12 #include "libqtest-single.h"
15 #include "libqos/libqos-pc.h"
16 #include "libqos/libqos-spapr.h"
18 #include "libqos/virtio-pci.h"
19 #include "standard-headers/linux/virtio_ids.h"
20 #include "standard-headers/linux/virtio_pci.h"
21 #include "standard-headers/linux/virtio_scsi.h"
22 #include "libqos/virtio-scsi.h"
43 for (i = 0; i < vs->num_queues + 2; i++) { in qvirtio_scsi_pci_free()
[all …]
/qemu/pc-bios/
HDu-boot.e500 ... to %lx busfreq immr_base bootflags intfreq addressing = 36-bit bad length %d < %d ## ...
/qemu/ui/
H A Dcocoa.m31 #include "qemu/help-texts.h"
32 #include "qemu-main.h"
36 #include "ui/kbd-state.h"
39 #include "system/runstate-action.h"
40 #include "system/cpu-throttle.h"
42 #include "qapi/qapi-commands-block.h"
43 #include "qapi/qapi-commands-machine.h"
44 #include "qapi/qapi-commands-misc.h"
46 #include "qemu-version.h"
48 #include "qemu/main-loop.h"
[all …]
/qemu/include/hw/xtensa/
H A Dxtensa-isa.h3 * Copyright (c) 2001-2013 Tensilica Inc.
41 * library contains most of the ISA-specific information for a
48 * . an instruction buffer - for holding the raw instruction bits
49 * . ISA info - information about the ISA as a whole
50 * . instruction formats - instruction size and slot structure
51 * . opcodes - information about individual instructions
52 * . operands - information about register and immediate instruction operands
53 * . stateOperands - information about processor state instruction operands
54 * . interfaceOperands - information about interface instruction operands
55 * . register files - register file information
[all …]
/qemu/target/arm/
H A Dkvm_arm.h2 * QEMU KVM support -- ARM specific functions.
7 * See the COPYING file in the top-level directory.
15 #include "target/arm/cpu-qom.h"
31 * @devid should be the ID of the device as defined by the arm-vgic device
52 * Note that we do not stop early on failure -- we will attempt
68 * Note that we do not stop early on failure -- we will attempt
109 * kernel (as would be used for '-cpu host'), for purposes of probing it
131 * the bits corresponding to their length in quadwords minus one
132 * (vq - 1) up to ARM_MAX_VQ. Return the resulting map.
150 * are the CPU properties with "kvm-" prefixed names.
[all …]
/qemu/include/hw/hyperv/
H A Dvmbus.h2 * QEMU Hyper-V VMBus
4 * Copyright (c) 2017-2018 Virtuozzo International GmbH.
7 * See the COPYING file in the top-level directory.
15 #include "hw/qdev-core.h"
17 #include "hw/hyperv/vmbus-proto.h"
21 #define TYPE_VMBUS_DEVICE "vmbus-dev"
30 * Object wrapping a GPADL -- GPA Descriptor List -- an array of guest physical
35 * VMBus channel -- a pair of ring buffers for either direction, placed within
50 QemuUUID instanceid; /* Fixed UUID for singleton devices */
64 * Device-specific actions to complete the otherwise successful process of
[all …]
/qemu/hw/scsi/
H A Dscsi-bus.c3 #include "qemu/error-report.h"
6 #include "qemu/hw-version.h"
7 #include "hw/qdev-properties.h"
9 #include "migration/qemu-file-types.h"
12 #include "system/block-backend.h"
36 QTAILQ_FOREACH_RCU(kid, &bus->qbus.children, sibling) { in do_scsi_device_find()
37 DeviceState *qdev = kid->child; in do_scsi_device_find()
40 if (dev->channel == channel && dev->id == id) { in do_scsi_device_find()
41 if (dev->lun == lun) { in do_scsi_device_find()
59 * main thread hot-plugging the device. in do_scsi_device_find()
[all …]
/qemu/hw/acpi/
H A Dbios-linker-loader.c22 #include "hw/acpi/bios-linker-loader.h"
30 * - allocate memory chunks and initialize them from QEMU FW CFG files
31 * - link allocated chunks by storing pointer to one chunk into another
32 * - calculate ACPI checksum of part of the chunk and store into same chunk
40 * COMMAND_ALLOCATE - allocate a table from @alloc.file
54 * COMMAND_ADD_POINTER - patch the table (originating from
67 * COMMAND_ADD_CHECKSUM - calculate checksum of the range specified by
70 * Checksum simply sums -X for each byte X in the range
71 * using 8-bit math.
77 uint32_t length; member
[all …]

12345