/qemu/tests/migration-stress/guestperf/ |
H A D | plot.py | 133 xaxis.append(record._timestamp - starttime) 134 yaxis.append(record._value) 135 labels.append(self._get_progress_label(progress)) 172 threads[record._tid]["xaxis"].append(record._timestamp - starttime) 173 threads[record._tid]["yaxis"].append(record._value) 174 threads[record._tid]["labels"].append(self._get_progress_label(progress)) 180 graphs.append( 199 xaxis.append(progress._now - starttime) 200 yaxis.append(0) 201 labels.append(self._get_progress_label(progress)) [all …]
|
H A D | engine.py | 30 sys.path.append(os.path.join(os.path.dirname(__file__), 66 records.append(TimingRecord(tid, now, 1000 * (stime + utime) / jiffies_per_sec)) 120 src_threads.append(vcpu["thread-id"]) 128 src_qemu_time.append(self._cpu_timing(src_pid)) 255 src_qemu_time.append(self._cpu_timing(src_pid)) 261 progress_history.append(progress) 267 progress_history.append(progress) 275 src_qemu_time.append(self._cpu_timing(src_pid)) 352 args.append(self._get_guest_console_args()) 355 args.append("debug") [all …]
|
/qemu/scripts/simplebench/ |
H A D | results_to_text.py | 72 tab.append([''] + [chr(ord('A') + i) for i in range(n_columns)]) 74 tab.append([''] + [c['id'] for c in results['envs']]) 81 row.append(result_to_text(res)) 82 tab.append(row) 94 row.append(cell) 111 row.append(cell) 112 tab.append(row)
|
H A D | table_templater.py | 40 c_switches.append([el.children[0].value for el in x.children]) 42 r_switches.append([el.children[0].value for el in x.children]) 54 result.append(x.children[0].value) 56 result.append(column[i]) 59 result.append(row[j])
|
H A D | bench-backup.py | 67 test_cases.append({'id': t, 'source': source, 'target': nbd_drv}) 88 test_cases.append({'id': test_id, 'source': source, 102 binaries.append((label, path_opts[0], path_opts[1:])) 145 test_envs.append({ 151 test_envs.append({
|
/qemu/scripts/tracetool/format/ |
H A D | log_stap.py | 52 bits.append(literal) 56 bits.append(c_macro_to_format(macro)) 61 bits.append(c_macro_to_format(macro)) 77 bits.append(c_macro_to_format(macro)) 79 bits.append(literal) 117 fields.append("arg" + name + "_str") 119 fields.append(name)
|
H A D | simpletrace_stap.py | 46 sizes.append('4 + arg%s_len' % name) 48 sizes.append('8') 62 fields.append(('8b', name))
|
/qemu/scripts/oss-fuzz/ |
H A D | output_reproducer.py | 63 result.append("""static void {}(void)\n{{""".format(name)) 70 result.append("""QTestState *s = qtest_init("{}");""".format(args)) 81 result.append("""qtest_bufwrite(s, {}, "{}", {});""".format( 84 result.append("qtest_{}(s, {});".format( 87 result.append("qtest_{}(s, {}, {});".format( 91 result.append("qtest_clock_step_next(s);") 93 result.append("qtest_clock_step(s, {});".format(param[1])) 94 result.append("qtest_quit(s);\n}")
|
/qemu/docs/sphinx/ |
H A D | dbusparser.py | 217 self.parsed_interfaces.append(iface) 221 self._cur_object.annotations.append(anno) 241 self._cur_object.methods.append(method) 246 self._cur_object.signals.append(signal) 251 self._cur_object.properties.append(prop) 256 self._cur_object.annotations.append(anno) 276 self._cur_object.in_args.append(arg) 278 self._cur_object.out_args.append(arg) 285 self._cur_object.annotations.append(anno) 308 self._cur_object.args.append(arg) [all …]
|
H A D | qapidoc_legacy.py | 115 nodelist.append(doc) 116 nodelist.append(nodes.Text(')')) 128 term.append(nodes.Text(': ')) 129 term.append(nodes.literal('', member.type.doc_type())) 131 term.append(nodes.Text(' (optional)')) 259 nodelist.append(snode) 270 nodelist.append(snode) 367 self._active_headings.append(snode) 426 rstlist.append(line, self._cur_doc.info.fname, 435 rstlist.append("", self._cur_doc.info.fname, self._cur_doc.info.line)
|
H A D | qapi_domain.py | 152 results.append(nodes.literal("]", "]")) 155 results.append(nodes.Text(", ")) 156 results.append(nodes.emphasis("?", "optional")) 225 signode["ids"].append(node_id) 235 self.indexnode["entries"].append( 380 infopips.attributes["classes"].append("qapi-infopips") 387 node.append(nodes.Text(content)) 391 infopips.append(node) 695 entries.append( 704 entries.append( [all …]
|
H A D | hxtool.py | 120 rstlist.append("", hxfile, lnum - 1) 125 rstlist.append(refline, hxfile, lnum - 1) 151 node_list.append(current_node) 159 rstlist.append(line, hxfile, lnum - 1) 172 node_list.append(current_node)
|
/qemu/tests/functional/ |
H A D | test_netdev_ethtool.py | 38 append = 'printk.time=0 console=ttyS0 ' 39 append += 'root=/dev/sr0 rootfstype=squashfs ' 43 append += extra_args 46 append += ' init=/usr/sbin/ethtool -- -t eth1 offline' 52 '-append', append,
|
/qemu/tests/qemu-iotests/ |
H A D | 136 | 77 drive_args.append("stats-intervals.0=%d" % interval_length) 78 drive_args.append("stats-account-invalid=%s" % 80 drive_args.append("stats-account-failed=%s" % 82 drive_args.append("file.image.read-zeroes=on") 225 ops.append("aio_read %d %d" % (i * rd_size, rd_size)) 228 ops.append("aio_write %d %d" % (i * wr_size, wr_size)) 231 ops.append("aio_flush") 236 ops.append("aio_read -i 0 512") 239 ops.append("aio_write -i 0 512") 242 ops.append("aio_read %d 512" % bad_offset) [all …]
|
H A D | 148 | 54 driveopts.append('read-pattern=%s' % self.read_pattern) 58 driveopts.append('children.%d.driver=%s' % (i, iotests.imgfmt)) 59 driveopts.append('children.%d.file.driver=blkdebug' % i) 60 driveopts.append('children.%d.file.config=%s' % (i, img_conf[i])) 61 driveopts.append('children.%d.file.image.filename=%s' % (i, imgs[i])) 62 driveopts.append('children.%d.node-name=img%d' % (i, i))
|
H A D | 096 | 35 opts.append('node-name=base') 36 opts.append('throttling.group=%s' % self.group) 37 opts.append('throttling.iops-total=%d' % self.iops) 38 opts.append('throttling.iops-size=%d' % self.iops_size)
|
H A D | iotests.py | 200 opts_list.append(luks_default_key_secret_opt) 336 args.append('--image-opts') 340 args.append(filename) 403 s.append(c) 698 lines.append(line) 826 file_path_remover.paths.append(path) 827 paths.append(path) 873 self._args.append('-object') 874 self._args.append(opts) 878 self._args.append('-device') [all …]
|
/qemu/python/scripts/ |
H A D | mkvenv.py | 403 lines.append("========== stdout ==========") 404 lines.append(_stringify(exc.stdout)) 405 lines.append("============================") 407 lines.append("========== stderr ==========") 408 lines.append(_stringify(exc.stderr)) 409 lines.append("============================") 542 lines.append( 547 lines.append( 552 lines.append( 559 lines.append("A suitable version could not be obtained from PyPI.") [all …]
|
/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | testcpuid.py2 | 53 uniques.setdefault(regs, []).append(cpu) 58 desc.append("Register values have been shifted by {}".format(shift)) 60 desc.append("Register values have been masked:") 62 …desc.append("Masks: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for… 68 desc.append('Register values are not unique across all logical processors') 69 …desc.append("Common bits: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for… 70 …desc.append("Mask of common bits: {eax:#010x} {ebx:#010x} {ecx:#010x} {edx:#010x}".for… 74 …desc.append("Register value: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for… 75 desc.append("On {0} CPUs: {1}".format(len(cpus), testutil.apicid_list(cpus)))
|
/qemu/scripts/ |
H A D | modinfo-collect.py | 23 out.append(item) 24 out.append('-DQEMU_MODINFO') 25 out.append('-E') 26 out.append(src)
|
/qemu/python/qemu/utils/ |
H A D | qemu_ga_client.py | 108 msgs.append('version: ' + info['version']) 109 msgs.append('supported_commands:') 112 msgs.append('\tenabled: ' + ', '.join(enabled)) 115 msgs.append('\tdisabled: ' + ', '.join(disabled)) 132 msgs.append(nif['name'] + ':') 138 msgs.append(f"\tinet {addr} netmask {mask}") 142 msgs.append(f"\tinet6 {addr} prefixlen {prefix}") 144 msgs.append("\tether " + nif['hardware-address'])
|
H A D | __init__.py | 150 sections.append(add_visual_margin(self.stdout, width, name)) 152 sections.append(f"{name}: N/A") 155 sections.append(add_visual_margin(self.stderr, width, 'stderr')) 157 sections.append("stderr: N/A")
|
/qemu/python/qemu/qmp/ |
H A D | qmp_shell.py | 129 def append(self, value: str) -> None: member in QMPCompleter 131 return self._matches.append(value) 207 self._completer.append(cmd['name']) 275 curpath.append(path) 330 self._actions.append(action) 454 self._completer.append(name) 455 self._completer.append('help ' + name) # help completion 460 self._completer.append('info ' + cmd.split()[1]) 464 self._completer.append('help info')
|
/qemu/tests/qemu-iotests/tests/ |
H A D | zoned.out | 55 (6) append write 57 After zap done, the append sector is 0x0 60 After zap done, the append sector is 0x18 63 After zap done, the append sector is 0x80000 66 After zap done, the append sector is 0x80018
|
/qemu/scripts/modules/ |
H A D | module_block.py | 27 lines.append('.library_name = "' + library + '",') 29 lines.append('.format_name = "' + format_name + '",') 31 lines.append('.protocol_name = "' + protocol_name + '",')
|