Home
last modified time | relevance | path

Searched full:table (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/qemu/tests/qemu-iotests/
H A D080.out14 == Huge refcount table size ==
16 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large
17 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large
19 == Misaligned refcount table ==
21 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table offset invalid
25 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table offset invalid
27 == Invalid snapshot table ==
29 qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table too large
30 qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table too large
31 qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table offset invalid
[all …]
H A Dqed.py77table = [unpack_table_elem(s[i:i + table_elem_size]) for i in xrange(0, size, table_elem_size)]
78 return table
84 def write_table(self, offset, table): argument
85 s = ''.join(pack_table_elem(x) for x in table)
88 def random_table_item(table): argument
89 vals = [(index, offset) for index, offset in enumerate(table) if offset != 0]
91 err('cannot pick random item because table is empty')
94 def corrupt_table_duplicate(table): argument
95 '''Corrupt a table by introducing a duplicate offset'''
96 victim_idx, victim_val = random_table_item(table)
[all …]
H A D11547 echo '=== Testing large refcount and L1 table ==='
50 # Create an image with an L1 table and a refcount table that each span twice the
53 # they describe are part of the L1 table or refcount table.
56 # 512/8 = 64 clusters, therefore the L1 table should cover 128 clusters, which
62 # like the L2 table entries), the same calculation applies to the refcount table
63 # as well; the difference is that while for the L1 table the guest disk size is
64 # concerned, for the refcount table it is the image length that has to be at
73 # Because qemu refuses to open qcow2 files whose L1 table does not cover the
75 # test whether the refcount table is large enough, we simply have to verify that
H A D261.out55 Repairing snapshot table entry 0 is incomplete
56 Repairing snapshot table entry 2 is incomplete
182 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Too much extra metadata in snapshot table entry 3
185 qemu-img: ERROR failed to read the snapshot table: Too much extra metadata in snapshot table entry 3
189 Discarding too much extra metadata in snapshot table entry 3 (65536 > 1024)
202 === Snapshot table too big ===
205 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Snapshot table is too big
208 qemu-img: ERROR failed to read the snapshot table: Snapshot table is too big
212 Discarding 1 overhanging snapshots (snapshot table is too big)
233 === Snapshot table too big with one entry with too much extra data ===
[all …]
H A D2614 # Test case for qcow2's handling of extra data in snapshot table entries
56 # $2: snapshot table entry offset in the image
136 # Create v2 image with a snapshot table with three entries:
147 # Copy out all existing snapshot table entries
150 # ofs: Snapshot table entry offset
220 # Construct snapshot table
244 # Force the v2 file to be v3. v3 requires each snapshot table entry
263 # updating the snapshot table, independent of the version.
309 # handle simultaneous snapshot table and refcount errors.)
322 echo '=== Snapshot table too big ==='
[all …]
H A D026.out17 qemu-io: Failed to flush the L2 table cache: Input/output error
24 qemu-io: Failed to flush the L2 table cache: Input/output error
41 qemu-io: Failed to flush the L2 table cache: No space left on device
48 qemu-io: Failed to flush the L2 table cache: No space left on device
129 qemu-io: Failed to flush the L2 table cache: Input/output error
136 qemu-io: Failed to flush the L2 table cache: Input/output error
153 qemu-io: Failed to flush the L2 table cache: No space left on device
160 qemu-io: Failed to flush the L2 table cache: No space left on device
177 qemu-io: Failed to flush the L2 table cache: Input/output error
184 qemu-io: Failed to flush the L2 table cache: Input/output error
[all …]
H A D026.out.nocache17 qemu-io: Failed to flush the L2 table cache: Input/output error
24 qemu-io: Failed to flush the L2 table cache: Input/output error
41 qemu-io: Failed to flush the L2 table cache: No space left on device
48 qemu-io: Failed to flush the L2 table cache: No space left on device
131 qemu-io: Failed to flush the L2 table cache: Input/output error
139 qemu-io: Failed to flush the L2 table cache: Input/output error
159 qemu-io: Failed to flush the L2 table cache: No space left on device
167 qemu-io: Failed to flush the L2 table cache: No space left on device
185 qemu-io: Failed to flush the L2 table cache: Input/output error
192 qemu-io: Failed to flush the L2 table cache: Input/output error
[all …]
/qemu/hw/acpi/
H A Dghes.c46 * Table 18-343 Generic Error Data Entry
59 * Table 18-380 Generic Error Status Block
78 static void build_ghes_hw_error_notification(GArray *table, const uint8_t type) in build_ghes_hw_error_notification() argument
81 build_append_int_noprefix(table, type, 1); in build_ghes_hw_error_notification()
86 build_append_int_noprefix(table, 28, 1); in build_ghes_hw_error_notification()
88 build_append_int_noprefix(table, 0, 2); in build_ghes_hw_error_notification()
90 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
92 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
94 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
96 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
[all …]
/qemu/block/
H A Dqed-table.c2 * QEMU Enhanced Disk Format Table I/O
25 qed_read_table(BDRVQEDState *s, uint64_t offset, QEDTable *table) in qed_read_table() argument
32 trace_qed_read_table(s, offset, table); in qed_read_table()
35 ret = bdrv_co_pread(s->bs->file, offset, bytes, table->offsets, 0); in qed_read_table()
44 table->offsets[i] = le64_to_cpu(table->offsets[i]); in qed_read_table()
50 trace_qed_read_table_cb(s, table, ret); in qed_read_table()
55 * Write out an updated part or all of a table
58 * @offset: Offset of table in image file, in bytes
59 * @table: Table
67 qed_write_table(BDRVQEDState *s, uint64_t offset, QEDTable *table, in qed_write_table() argument
[all …]
H A Dqed-l2-cache.c15 * L2 table cache usage is as follows:
17 * An open image has one L2 table cache that is used to avoid accessing the
23 * table cache serves up recently referenced L2 tables.
25 * If there is a cache miss, that L2 table is read from the image file and
26 * committed to the cache. Subsequent accesses to that L2 table will be served
27 * from the cache until the table is evicted from the cache.
30 * in the image file. Since the L2 table cache is write-through, the new L2
31 * table is first written out to the image file and then committed to the
34 * Multiple I/O requests may be using an L2 table cache entry at any given
40 * An in-flight I/O request will hold a reference to a L2 table cache entry for
[all …]
H A Dqed-cluster.c22 * @table: L2 table
31 QEDTable *table, in qed_count_contiguous_clusters() argument
37 uint64_t last = table->offsets[index]; in qed_count_contiguous_clusters()
45 if (!qed_offset_is_unalloc_cluster(table->offsets[i])) { in qed_count_contiguous_clusters()
50 if (!qed_offset_is_zero_cluster(table->offsets[i])) { in qed_count_contiguous_clusters()
55 if (table->offsets[i] != last + s->header.cluster_size) { in qed_count_contiguous_clusters()
58 last = table->offsets[i]; in qed_count_contiguous_clusters()
77 * If the L2 table exists, request->l2_table points to the L2 table cache entry
79 * entry is exposed in this way to avoid callers having to read the L2 table
87 * table offset, respectively. len is number of contiguous unallocated bytes.
[all …]
H A Dqcow2-cache.c2 * L2/refcount table cache for the QCOW2 format
49 static inline void *qcow2_cache_get_table_addr(Qcow2Cache *c, int table) in qcow2_cache_get_table_addr() argument
51 return (uint8_t *) c->table_array + (size_t) table * c->table_size; in qcow2_cache_get_table_addr()
54 static inline int qcow2_cache_get_table_idx(Qcow2Cache *c, void *table) in qcow2_cache_get_table_idx() argument
56 ptrdiff_t table_offset = (uint8_t *) table - (uint8_t *) c->table_array; in qcow2_cache_get_table_idx()
67 return "L2 table"; in qcow2_cache_get_name()
325 void **table, bool read_from_disk) in qcow2_cache_do_get() argument
346 /* Check if the table is already cached */ in qcow2_cache_do_get()
368 /* Cache miss: write a table back and replace it */ in qcow2_cache_do_get()
395 /* And return the right table */ in qcow2_cache_do_get()
[all …]
H A Dqcow2-snapshot.c59 * If @repair is true, try to repair a broken snapshot table instead
62 * - If the snapshot table was too long, set *nb_clusters_reduced to
73 * table, which requires cluster allocation. Therefore, this should
114 error_setg_errno(errp, -ret, "Failed to read snapshot table"); in qcow2_do_read_snapshots()
134 error_setg(errp, "Too much extra metadata in snapshot table " in qcow2_do_read_snapshots()
142 "table entry %i (%" PRIu32 " > %u)\n", in qcow2_do_read_snapshots()
153 error_setg_errno(errp, -ret, "Failed to read snapshot table"); in qcow2_do_read_snapshots()
192 "Failed to read snapshot table"); in qcow2_do_read_snapshots()
202 error_setg_errno(errp, -ret, "Failed to read snapshot table"); in qcow2_do_read_snapshots()
212 error_setg_errno(errp, -ret, "Failed to read snapshot table"); in qcow2_do_read_snapshots()
[all …]
H A Dqed-check.c65 * Check an L2 table
69 static unsigned int qed_check_l2_table(QEDCheck *check, QEDTable *table) in qed_check_l2_table() argument
76 uint64_t offset = table->offsets[i]; in qed_check_l2_table()
91 table->offsets[i] = 0; in qed_check_l2_table()
111 qed_check_l1_table(QEDCheck *check, QEDTable *table) in qed_check_l1_table() argument
117 /* Mark L1 table clusters used */ in qed_check_l1_table()
123 uint64_t offset = table->offsets[i]; in qed_check_l1_table()
133 table->offsets[i] = 0; in qed_check_l1_table()
144 continue; /* skip an invalid table */ in qed_check_l1_table()
155 check->request.l2_table->table); in qed_check_l1_table()
[all …]
/qemu/include/hw/cxl/
H A Dcxl_cdat.h18 * Coherent Device Attribute Table (CDAT) Specification, Rev. 1.03, July. 2022
21 /* Table Access DOE - CXL r3.1 8.1.11 */
29 /* Read Entry Request - CXL r3.1 8.1.11.1 Table 8-13 */
38 /* Read Entry Response - CXL r3.1 8.1.11.1 Table 8-14 */
47 /* CDAT Table Format - CDAT Table 1 */
57 /* CDAT Structure Types - CDAT Table 2 */
73 /* Device Scoped Memory Affinity Structure - CDAT Table 3 */
88 /* Device Scoped Latency and Bandwidth Information Structure - CDAT Table 5 */
102 /* Device Scoped Memory Side Cache Information Structure - CDAT Table 6 */
111 /* Device Scoped Initiator Structure - CDAT Table 7 */
[all …]
H A Dcxl_events.h16 * CXL r3.1 section 8.2.9.2.2: Get Event Records (Opcode 0100h); Table 8-52
32 * CXL r3.1 section 8.2.9.2.1: Event Records; Table 8-43
55 * CXL r3.1 section 8.2.9.2.2; Table 8-53
73 * CXL r3.1 section 8.2.9.2.3; Table 8-54
86 * CXL r3.1 section 8.2.9.2.4; Table 8-55
109 * CXL r3.1 Section 8.2.9.2.1.1; Table 8-45
129 * CXL r3.1 Section 8.2.9.2.1.2: Table 8-46
152 * CXL r3.1 Section 8.2.9.2.1.3: Table 8-47
170 * CXL r3.1 section Table 8-50: Dynamic Capacity Event Record
/qemu/monitor/
H A Dhmp-target.c151 HMPCommand *table = info ? hmp_info_cmds : hmp_cmds; in monitor_register_hmp() local
153 while (table->name != NULL) { in monitor_register_hmp()
154 if (strcmp(table->name, name) == 0) { in monitor_register_hmp()
155 g_assert(table->cmd == NULL && table->cmd_info_hrt == NULL); in monitor_register_hmp()
156 table->cmd = cmd; in monitor_register_hmp()
159 table++; in monitor_register_hmp()
167 HMPCommand *table = hmp_info_cmds; in monitor_register_hmp_info_hrt() local
169 while (table->name != NULL) { in monitor_register_hmp_info_hrt()
170 if (strcmp(table->name, name) == 0) { in monitor_register_hmp_info_hrt()
171 g_assert(table->cmd == NULL && table->cmd_info_hrt == NULL); in monitor_register_hmp_info_hrt()
[all …]
/qemu/include/hw/acpi/
H A Daml-build.h13 #define ACPI_BUILD_LOADER_FILE "etc/table-loader"
114 * ACPI 1.0b: Table 6-26 I/O Resource Flag (Resource Type = 1) Definitions
124 * ACPI 1.0b: Table 6-25 Memory Resource Flag (Resource Type = 0) Definitions
135 * ACPI 1.0b: Table 6-25 Memory Resource Flag (Resource Type = 0) Definitions
144 * ACPI 5.0: Table 6-187 Extended Interrupt Descriptor Definition
153 * ACPI 5.0: Table 6-187 Extended Interrupt Descriptor Definition
162 * ACPI 5.0: Table 6-187 Extended Interrupt Descriptor Definition
171 * ACPI 5.0: Table 6-187 Extended Interrupt Descriptor Definition
188 * ACPI 5.0: Table 6-189 GPIO Connection Descriptor Definition
197 * ACPI 5.0: Table 6-189 GPIO Connection Descriptor Definition
[all …]
H A Dghes.h42 /* CMCI, ACPI 5.0: 18.3.2.7, Table 18-290 */
44 /* MCE, ACPI 5.0: 18.3.2.7, Table 18-290 */
46 /* GPIO-Signal, ACPI 6.0: 18.3.2.7, Table 18-332 */
48 /* ARMv8 SEA, ACPI 6.1: 18.3.2.9, Table 18-345 */
50 /* ARMv8 SEI, ACPI 6.1: 18.3.2.9, Table 18-345 */
52 /* External Interrupt - GSIV, ACPI 6.1: 18.3.2.9, Table 18-345 */
54 /* Software Delegated Exception, ACPI 6.2: 18.3.2.9, Table 18-383 */
80 * acpi_ghes_present: Report whether ACPI GHES table is present
82 * Returns: true if the system has an ACPI GHES table and it is
/qemu/docs/interop/
H A Dqcow2.rst54 the maximum L1 table size. With a 2 MB cluster
59 table layouts limit an image to no more than 64 PB
70 Number of entries in the active L1 table
73 Offset into the image file at which the active L1 table
77 Offset into the image file at which the refcount table
81 Number of clusters that the refcount table occupies
87 Offset into the image file at which the snapshot table
127 L2 table entries use an extended format that
168 of only setting the zero flag in the L2 table
258 0x6803f857 - Feature name table
[all …]
/qemu/docs/specs/
H A Dsev-guest-firmware.rst10 GUIDed table at a known location in the firmware image. QEMU parses
11 this table when it loads the firmware image into memory, and then QEMU
14 Though nothing in the table structure is SEV-specific, currently all the
15 entries in the table are related to SEV and SEV-ES features.
18 Table parsing in QEMU
21 The table is parsed from the footer: first the presence of the table
24 table length.
26 Then the table is scanned backwards looking for the specific entry GUID.
28 QEMU files related to parsing and scanning the OVMF table:
35 Table memory layout
[all …]
/qemu/qapi/
H A Dacpi.json15 # Specify an ACPI table on the command line to load.
22 # ACPI table header; refer to the ACPI specification 5.0, section
23 # 5.2.6 System Description Table Header. If a header field is not
31 # @sig: table signature / identifier (4 bytes)
33 # @rev: table revision number (dependent on signature, 1 byte)
37 # @oem_table_id: OEM table identifier (8 bytes)
41 # @asl_compiler_id: identifier of the utility that created the table
45 # table (4 bytes)
48 # as table data. The resultant binary blob is expected to have an
49 # ACPI table header. At least one file is required. This field
[all …]
H A Dcxl.json42 # @flags: Event Record Flags. See CXL r3.0 Table 8-42 Common Event
46 # lower bits include some flags. See CXL r3.0 Table 8-43 General
50 # information. See CXL r3.0 Table 8-43 General Media Event
53 # @type: Type of memory event that occurred. See CXL r3.0 Table 8-43
58 # to occur. See CXL r3.0 Table 8-43 General Media Event Record,
93 # @flags: Event Record Flags. See CXL r3.0 Table 8-42 Common Event
97 # lower bits include some flags. See CXL r3.0 Table 8-44 DRAM
101 # information. See CXL r3.0 Table 8-44 DRAM Event Record, Memory
104 # @type: Type of memory event that occurred. See CXL r3.0 Table 8-44
108 # to occur. See CXL r3.0 Table 8-44 DRAM Event Record,
[all …]
/qemu/include/hw/virtio/
H A Dvirtio-dmabuf.h31 * virtio_add_dmabuf() - Add a new dma-buf resource to the lookup table
42 * the lookup table.
56 * the lookup table.
61 * virtio_remove_resource() - Removes a resource from the lookup table
64 * Return: true if the UUID has been found and removed from the lookup table.
69 * virtio_lookup_dmabuf() - Looks for a dma-buf resource in the lookup table
78 * lookup table
86 * virtio_object_type() - Looks for the type of resource in the lookup table
96 * resources lookup table, and frees them
/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/
H A DBiosTablesTest.h2 Expose the address(es) of the ACPI RSD PTR table(s) and the SMBIOS entry
10 This feature is a development aid, for supporting ACPI and SMBIOS table unit
58 // table, in 8-byte little endian representation. Rsdp20 is the same, for the
59 // ACPI 2.0 or later specification RSD PTR table. Each of these fields may be
60 // zero (independently of the other) if the UEFI System Table does not
61 // provide the corresponding UEFI Configuration Table.
72 // (independently of the other) if the UEFI System Table does not provide the
73 // corresponding UEFI Configuration Table.

12345678910>>...28