/qemu/hw/acpi/ |
H A D | ghes.c | 89 build_append_int_noprefix(table, 28, 1); in build_ghes_hw_error_notification() 91 build_append_int_noprefix(table, 0, 2); in build_ghes_hw_error_notification() 93 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification() 95 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification() 97 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification() 99 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification() 101 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification() 103 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification() 171 build_append_int_noprefix(table, in acpi_ghes_build_append_mem_cper() 368 acpi_table_begin(&table, table_data); in acpi_build_hest() [all …]
|
H A D | aml-build.c | 1764 unsigned acpi_data_len(GArray *table) in acpi_data_len() argument 1767 return table->len; in acpi_data_len() 1875 acpi_table_begin(&table, table_data); in build_rsdt() 1889 acpi_table_end(linker, &table); in build_rsdt() 1917 acpi_table_end(linker, &table); in build_xsdt() 1964 acpi_table_end(linker, &table); in build_slit() 2048 acpi_table_end(linker, &table); in build_spcr() 2123 acpi_table_end(linker, &table); in build_pptt() 2134 acpi_table_begin(&table, tbl); in build_fadt() 2260 acpi_table_end(linker, &table); in build_fadt() [all …]
|
H A D | pci.c | 38 AcpiTable table = { .sig = "MCFG", .rev = 1, in build_mcfg() local 41 acpi_table_begin(&table, table_data); in build_mcfg() 60 acpi_table_end(linker, &table); in build_mcfg()
|
/qemu/monitor/ |
H A D | hmp-target.c | 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() 172 table->cmd_info_hrt = handler; in monitor_register_hmp_info_hrt() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 080.out | 14 == Huge refcount table size == 19 == Misaligned refcount table == 27 == Invalid snapshot table == 34 == Hitting snapshot table size limit == 40 == Invalid L1 table == 62 == Invalid snapshot L1 table offset == 74 ERROR snapshot 1 (test) l1_offset=0x400200: L1 table is not cluster aligned; snapshot table entry c… 85 == Invalid snapshot L1 table size == 90 qemu-img: Snapshot L1 table too large 94 qemu-img: Snapshot L1 table too large [all …]
|
H A D | qed.py | 78 return table 88 def random_table_item(table): argument 94 def corrupt_table_duplicate(table): argument 97 unique_vals = set(table) 101 table[victim_idx] = dup_val 124 table = qed.l1_table 127 table = qed.read_table(offset) 130 corrupt_table_duplicate(table) 131 qed.write_table(offset, table) 137 table = qed.l1_table [all …]
|
H A D | 116.out | 5 qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid 15 == invalid table size == 17 qemu-io: can't open device TEST_DIR/t.qed: QED table size is invalid 21 qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid 23 == invalid L1 table offset == 25 qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid
|
H A D | 261.out | 55 Repairing snapshot table entry 0 is incomplete 56 Repairing snapshot table entry 2 is incomplete 185 qemu-img: ERROR failed to read the snapshot table: Too much extra metadata in snapshot table entry 3 202 === Snapshot table 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 === 235 Snapshot table size should equal 67108872: 67108872 240 qemu-img: ERROR failed to read the snapshot table: Too much extra metadata in snapshot table entry … 245 Discarding 1 overhanging snapshots (snapshot table is too big) [all …]
|
H A D | 044 | 72 table = b''.join(struct.pack('>Q', (1 << 63) | off_l2 + 512 * j) 74 fd.write(table) 85 table = struct.pack('>1024Q', *pytable) 86 fd.write(table) 90 table = b''.join(struct.pack('>Q', (1 << 63) | off + 512 * j) 92 fd.write(table)
|
H A D | 092.out | 10 == Invalid L2 table size == 12 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 13 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 14 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 15 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k
|
/qemu/docs/specs/ |
H A D | sev-guest-firmware.rst | 10 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 15 entries in the table are related to SEV and SEV-ES features. 21 The table is parsed from the footer: first the presence of the table 24 table length. 28 QEMU files related to parsing and scanning the OVMF table: 43 | 0xffffff84 | 4 | SEV hashes table base address | 45 | 0xffffff88 | 4 | SEV hashes table size (=0x400) | 47 | 0xffffff8c | 2 | SEV hashes table entry length (=0x1a) | 68 | 0xffffffce | 2 | Length of entire table including table | [all …]
|
H A D | acpi_hest_ghes.rst | 59 (1) QEMU generates the ACPI HEST table. This table goes in the current 65 contains an address registers table and an Error Status Data Block table. 67 (3) The address registers table contains N Error Block Address entries 69 The Error Status Data Block table contains N Error Status Data Block 79 "error_status_address" fields of the HEST table with a pointer to the 83 "read_ack_register" fields of the HEST table with a pointer to the
|
/qemu/block/ |
H A D | qed-table.c | 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() 67 qed_write_table(BDRVQEDState *s, uint64_t offset, QEDTable *table, in qed_write_table() argument 76 trace_qed_write_table(s, offset, table, index, n); in qed_write_table() 88 uint64_t le_offset = cpu_to_le64(table->offsets[i]); in qed_write_table() 98 trace_qed_write_table_cb(s, table, flush, ret); in qed_write_table() 151 request->l2_table->table = qed_alloc_table(s); in qed_read_l2_table() [all …]
|
H A D | qed-cluster.c | 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() 123 n = qed_count_contiguous_clusters(s, request->l2_table->table, in qed_find_cluster()
|
H A D | qcow2-cache.c | 325 void **table, bool read_from_disk) in qcow2_cache_do_get() argument 398 *table = qcow2_cache_get_table_addr(c, i); in qcow2_cache_do_get() 407 void **table) in qcow2_cache_get() argument 409 return qcow2_cache_do_get(bs, c, offset, table, true); in qcow2_cache_get() 413 void **table) in qcow2_cache_get_empty() argument 418 void qcow2_cache_put(Qcow2Cache *c, void **table) in qcow2_cache_put() argument 420 int i = qcow2_cache_get_table_idx(c, *table); in qcow2_cache_put() 423 *table = NULL; in qcow2_cache_put() 434 int i = qcow2_cache_get_table_idx(c, table); in qcow2_cache_entry_mark_dirty() 451 void qcow2_cache_discard(Qcow2Cache *c, void *table) in qcow2_cache_discard() argument [all …]
|
H A D | qed-check.c | 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 123 uint64_t offset = table->offsets[i]; in qed_check_l1_table() 133 table->offsets[i] = 0; in qed_check_l1_table() 155 check->request.l2_table->table); in qed_check_l1_table()
|
H A D | qcow2-bitmap.c | 88 Qcow2BitmapTable table; member 231 uint64_t *table; in bitmap_table_load() local 235 if (table == NULL) { in bitmap_table_load() 241 table, 0); in bitmap_table_load() 247 table[i] = be64_to_cpu(table[i]); in bitmap_table_load() 254 *bitmap_table = table; in bitmap_table_load() 258 g_free(table); in bitmap_table_load() 1425 bm->table.offset = tb_offset; in store_bitmap() 1426 bm->table.size = tb_size; in store_bitmap() 1612 tb = g_memdup2(&bm->table, sizeof(bm->table)); in qcow2_store_persistent_dirty_bitmaps() [all …]
|
/qemu/tests/tcg/s390x/ |
H A D | vfminmax.c | 123 const char *table[N_SIGNED_CLASSES][N_SIGNED_CLASSES]; member 129 .table = { 145 .table = { 161 .table = { 177 .table = { 193 .table = { 210 .table = { 226 .table = { 242 .table = { 258 .table = { [all …]
|
/qemu/qapi/ |
H A D | acpi.json | 15 # Specify an ACPI table on the command line to load. 22 # ACPI table header; refer to the ACPI specification 5.0, section 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 53 # as table data. The resultant binary blob must not have an ACPI [all …]
|
/qemu/hw/ppc/ |
H A D | spapr_iommu.c | 87 uint64_t *table = NULL; in spapr_tce_alloc_table() local 94 if (!table) { in spapr_tce_alloc_table() 96 table = g_new0(uint64_t, nb_table); in spapr_tce_alloc_table() 101 return table; in spapr_tce_alloc_table() 108 g_free(table); in spapr_tce_free_table() 178 tcet->mig_table = tcet->table; in spapr_tce_table_pre_save() 248 memcpy(tcet->table, tcet->mig_table, in spapr_tce_table_post_load() 343 oldtable = tcet->table; in spapr_tce_set_need_vfio() 418 tcet->table = NULL; in spapr_tce_table_disable() 463 tcet->table[index] = tce; in put_tce_emu() [all …]
|
/qemu/hw/smbios/ |
H A D | smbios_legacy.c | 160 struct smbios_table *table; in smbios_get_table_legacy() local 166 size + sizeof(*table)); in smbios_get_table_legacy() 167 table = (struct smbios_table *)(smbios_entries + smbios_entries_len); in smbios_get_table_legacy() 168 table->header.type = SMBIOS_TABLE_ENTRY; in smbios_get_table_legacy() 169 table->header.length = cpu_to_le16(sizeof(*table) + size); in smbios_get_table_legacy() 170 memcpy(table->data, header, size); in smbios_get_table_legacy() 171 smbios_entries_len += sizeof(*table) + size; in smbios_get_table_legacy()
|
/qemu/docs/sphinx-static/ |
H A D | theme_overrides.css | 80 /* Keep fields from being strangely far apart due to inheirited table CSS. */ 81 .rst-content table.field-list th.field-name { 85 .rst-content table.field-list td.field-body { 100 /* table: 107 .wy-table-responsive table td { white-space: normal; } 108 .wy-table-responsive { overflow: auto; } 109 .rst-content table.docutils caption { text-align: left; font-size: 100%; } 122 caption, .wy-table caption, .rst-content table.field-list caption {
|
/qemu/scripts/ |
H A D | compare-machine-types.py | 254 table: List[pd.DataFrame] = [] 265 table.append(pd.DataFrame({name: column})) 267 return pd.concat(table, axis=1) 421 def simplify_table(table: pd.DataFrame) -> pd.DataFrame: 425 table = table.map(transform_value) 427 return table[~table.iloc[:, 3:].eq(table.iloc[:, 2], axis=0).all(axis=1)] 448 table = [pd.DataFrame({'Driver': driver_col}), 451 table.extend([config.get_table(req_props) for config in configs]) 453 df_table = pd.concat(table, axis=1) 461 def print_table(table: pd.DataFrame, table_format: str) -> None:
|
/qemu/ui/ |
H A D | keymaps.c | 43 static int get_keysym(const name2keysym_t *table, in get_keysym() argument 47 for(p = table; p->name != NULL; p++) { in get_keysym() 86 const name2keysym_t *table, in parse_keyboard_layout() argument 134 keysym = get_keysym(table, keyname); in parse_keyboard_layout() 158 keysym = get_keysym(table, keyname); in parse_keyboard_layout() 176 kbd_layout_t *init_keyboard_layout(const name2keysym_t *table, in init_keyboard_layout() argument 183 if (parse_keyboard_layout(k, table, language, errp) < 0) { in init_keyboard_layout()
|
/qemu/docs/interop/ |
H A D | qcow2.txt | 248 0x6803f857 - Feature name table 283 == Feature name table == 473 Refcount table entry: 526 L1 table entry: 533 L2 table are unallocated. 539 in the active L1 table. 541 L2 table entry: 675 Snapshot table entry: 707 table entry): 836 === Bitmap table === [all …]
|