/openbmc/qemu/tests/qemu-iotests/ |
H A D | 260.out | 2 Testcase non-persistent without restart 4 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0", "persisten… 6 initial bitmap: name=bitmap0 dirty-clusters=1 7 {"execute": "blockdev-snapshot-sync", "arguments": {"device": "drive0", "format": "qcow2", "snapsho… 10 {"execute": "block-commit", "arguments": {"device": "drive0", "top": "TEST_DIR/PID-top"}} 12 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… 13 {"execute": "block-job-complete", "arguments": {"device": "drive0"}} 15 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… 16 check bitmap after commit: name=bitmap0 dirty-clusters=2 17 check updated bitmap: name=bitmap0 dirty-clusters=3 [all …]
|
H A D | 141.out | 1 Creating bottom <- middle <- top backing file chain... 3 === Testing drive-backup === 4 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"… 6 …execute": "drive-backup", "arguments": {"device": "drv0", "format": "IMGFMT", "job-id": "job0", "s… 8 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 10 {"execute": "block-job-cancel", "arguments": {"device": "job0"}} 12 {"data": {"device": "job0", "len": 1048576, "offset": 0, "speed": 0, "type": "backup"}, "event": "B… 13 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 16 === Testing drive-mirror === 17 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"… [all …]
|
H A D | 257.out | 4 --- Preparing image & VM --- 6 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 9 --- Write #0 --- 11 write -P0x49 0x0000000 0x10000 13 write -P0x6c 0x0100000 0x10000 15 write -P0x6f 0x2000000 0x10000 17 write -P0x76 0x3ff0000 0x10000 23 --- Reference Backup #0 --- 26 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 30 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} [all …]
|
H A D | 030 | 37 qemu_img('create', '-f', iotests.imgfmt, 38 '-o', 'backing_file=%s' % backing_img, 39 '-F', 'raw', mid_img) 40 qemu_img('create', '-f', iotests.imgfmt, 41 '-o', 'backing_file=%s' % mid_img, 42 '-F', iotests.imgfmt, test_img) 43 qemu_io('-f', 'raw', '-c', 'write -P 0x1 0 512', backing_img) 44 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0x1 524288 512', mid_img) 46 "backing.node-name=mid," + 47 "backing.backing.node-name=base") [all …]
|
H A D | 280.out | 14 {"execute": "query-status", "arguments": {}} 18 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 20 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 23 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-top", "node-n… 25 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 27 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 30 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": "top-file", "node-name": "top-… 32 {"execute": "blockdev-snapshot", "arguments": {"node": "base-fmt", "overlay": "top-fmt"}} 41 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "device": "top-fmt", "job-id": "jo… 43 {"execute": "job-complete", "arguments": {"id": "job0"}} [all …]
|
H A D | 224.out | 2 --- filter_node_name: False --- 4 …-add", "arguments": {"backing": {"backing": {"backing": {"driver": "null-co"}, "driver": "IMGFMT",… 6 …-commit", "arguments": {"base": "json:{\"backing\": {\"driver\": \"null-co\"}, \"driver\": \"IMGFM… 8 {"execute": "job-pause", "arguments": {"id": "commit"}} 11 --- filter_node_name: True --- 13 …-add", "arguments": {"backing": {"backing": {"backing": {"driver": "null-co"}, "driver": "IMGFMT",… 15 …-commit", "arguments": {"base": "json:{\"backing\": {\"driver\": \"null-co\"}, \"driver\": \"IMGFM… 17 {"execute": "job-pause", "arguments": {"id": "commit"}}
|
H A D | 224 | 4 # Test json:{} filenames with qemu-internal BDSs 42 log('--- filter_node_name: %s ---' % filter_node_name) 47 iotests.FilePath('top.img') as top_img_path, \ 50 qemu_img('create', '-f', iotests.imgfmt, base_img_path, '64M') 51 qemu_img('create', '-f', iotests.imgfmt, '-b', base_img_path, 52 '-F', iotests.imgfmt, mid_img_path) 53 qemu_img('create', '-f', iotests.imgfmt, '-b', mid_img_path, 54 '-F', iotests.imgfmt, top_img_path) 57 qemu_io(mid_img_path, '-c', 'write -P 1 0 1M') 61 # Change the bottom-most image's backing file (to null-co://) [all …]
|
H A D | 040 | 56 self.vm.qmp('block-job-complete', device='drive0') 61 def run_commit_test(self, top, base, need_ready=False, node_names=False): argument 64 self.vm.cmd('block-commit', device='drive0', top_node=top, base_node=base) 66 self.vm.cmd('block-commit', device='drive0', top=top, base=base) 71 self.vm.cmd('block-commit', device='drive0') 82 qemu_img('create', '-f', iotests.imgfmt, 83 '-o', 'backing_file=%s' % backing_img, '-F', 'raw', mid_img) 84 qemu_img('create', '-f', iotests.imgfmt, 85 '-o', 'backing_file=%s' % mid_img, 86 '-F', iotests.imgfmt, test_img) [all …]
|
H A D | 258.out | 5 {"execute": "object-add", "arguments": {"id": "tg", "limits": {"iops-write": 1, "iops-write-max": 1… 7 …-add", "arguments": {"backing": {"backing": {"backing": {"backing": {"driver": "raw", "file": {"dr… 9 …k-commit", "arguments": {"auto-finalize": false, "base-node": "node0", "device": "node4", "filter-… 11 {"execute": "block-stream", "arguments": {"base-node": "commit-filter", "device": "node3", "job-id"… 13 {"execute": "job-finalize", "arguments": {"id": "commit"}} 16 {"data": {"device": "commit", "len": 67108864, "offset": 67108864, "speed": 0, "type": "commit"}, "… 17 {"data": {"device": "stream", "len": 67108864, "offset": 67108864, "speed": 0, "type": "stream"}, "… 21 {"execute": "object-add", "arguments": {"id": "tg", "limits": {"iops-write": 1, "iops-write-max": 1… 23 …-add", "arguments": {"backing": {"backing": {"backing": {"backing": {"driver": "raw", "file": {"dr… 25 …k-commit", "arguments": {"auto-finalize": false, "base-node": "node0", "device": "node4", "filter-… [all …]
|
H A D | 274.out | 26 0 0x200000 0x50000 TEST_DIR/PID-base 31 0 0x100000 0x50000 TEST_DIR/PID-base 37 0 0x100000 0x50000 TEST_DIR/PID-base 39 === Testing qemu-img commit (top -> mid) === 46 backing file: TEST_DIR/PID-base 62 === Testing HMP commit (top -> mid) === 66 {"execute": "human-monitor-command", "arguments": {"command-line": "commit drive0"}} 72 backing file: TEST_DIR/PID-base 88 === Testing QMP active commit (top -> mid) === 92 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "mid", "device": "top… [all …]
|
H A D | 185 | 37 if [ -f "$TEST_DIR/qsd.pid" ]; then 38 kill -SIGKILL "$(cat "$TEST_DIR/qsd.pid")" 39 rm -f "$TEST_DIR/qsd.pid" 41 rm -f "$SOCK_DIR/qsd.sock" 64 -drive file="${TEST_IMG}.base",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk 73 "{ 'execute': 'blockdev-snapshot-sync', 75 'snapshot-file': '$TEST_IMG.mid', 77 'mode': 'absolute-paths' } }" \ 81 "{ 'execute': 'human-monitor-command', 82 'arguments': { 'command-line': [all …]
|
H A D | 141 | 41 self.vm.qmp_log('blockdev-add', \ 49 self.vm.qmp_log('blockdev-del', node_name='drv0', \ 52 self.vm.qmp_log('block-job-cancel', device='job0') 57 self.vm.qmp_log('blockdev-del', node_name='drv0') 63 def main() -> None: 64 with iotests.FilePath('bottom', 'middle', 'top', 'target') as \ 68 iotests.log('Creating bottom <- middle <- top backing file chain...') 70 iotests.qemu_img_create('-f', iotests.imgfmt, bottom_path, IMAGE_SIZE) 71 iotests.qemu_img_create('-f', iotests.imgfmt, \ 72 '-F', iotests.imgfmt, \ [all …]
|
H A D | 041 | 30 target_backing_img = os.path.join(iotests.test_dir, 'target-backing.img') 44 qmp_cmd = 'drive-mirror' 49 qemu_img('create', '-f', iotests.imgfmt, 50 '-o', 'backing_file=%s' % backing_img, '-F', 'raw', test_img) 51 self.vm = iotests.VM().add_drive(test_img, "node-name=top,backing.node-name=base") 72 result = self.vm.qmp('query-block') 85 result = self.vm.qmp('query-block') 95 result = self.vm.qmp('query-block') 109 result = self.vm.qmp('query-block-jobs') 113 result = self.vm.qmp('query-block-jobs') [all …]
|
H A D | 185.out | 11 { 'execute': 'blockdev-snapshot-sync', 13 'snapshot-file': 'TEST_DIR/t.IMGFMT.mid', 15 'mode': 'absolute-paths' } } 18 { 'execute': 'human-monitor-command', 19 'arguments': { 'command-line': 20 'qemu-io disk "write 0 4M"' } } 24 { 'execute': 'blockdev-snapshot-sync', 26 'snapshot-file': 'TEST_DIR/t.IMGFMT', 28 'mode': 'absolute-paths' } } 34 { 'execute': 'block-commit', [all …]
|
H A D | 127.out | 9 { 'execute': 'drive-mirror', 11 'job-id': 'mirror', 15 'sync': 'top' 21 …_JOB_READY", "data": {"device": "mirror", "len": 65536, "offset": 65536, "speed": 0, "type": "mirr… 22 { 'execute': 'block-job-complete', 27 …_COMPLETED", "data": {"device": "mirror", "len": 65536, "offset": 65536, "speed": 0, "type": "mirr… 31 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
|
/openbmc/qemu/include/block/ |
H A D | block_int-global-state.h | 29 #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 81 * @top: Top block device to be committed. 82 * @base: Block device that will be written into, and become the new top. 85 * @speed: The maximum speed, in bytes per second, or 0 for unlimited. [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/ |
H A D | Mode.interface.yaml | 5 - name: PowerMode 10 This defines the processor speed based on the priority of power 13 - xyz.openbmc_project.Common.Error.InvalidArgument 14 - xyz.openbmc_project.Common.Error.NotAllowed 16 - name: SafeMode 19 - readonly 25 - name: AllowedPowerModes 28 - const 36 - name: PowerMode 40 - name: BalancedPerformance [all …]
|
/openbmc/linux/sound/firewire/ |
H A D | cmp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include "iso-resources.h" 17 * struct cmp_connection - manages an isochronous connection to a device 18 * @speed: the connection's actual speed 24 * possible to overlay connections on top of this one. 27 int speed; member
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 9 #include "ivtv-driver.h" 10 #include "ivtv-version.h" 11 #include "ivtv-mailbox.h" 12 #include "ivtv-i2c.h" 13 #include "ivtv-queue.h" 14 #include "ivtv-fileops.h" 15 #include "ivtv-vbi.h" [all …]
|
/openbmc/qemu/tests/bench/ |
H A D | bufferiszero-bench.c | 2 * QEMU buffer_is_zero speed benchmark 6 * top-level directory. 45 g_test_add_data_func("/cutils/bufferiszero/speed", NULL, test); in main()
|
H A D | benchmark-crypto-hmac.c | 2 * QEMU Crypto hmac speed benchmark 11 * top-level directory. 76 snprintf(name, sizeof(name), "/crypto/hmac/speed-%zu", i); in main()
|
/openbmc/qemu/include/qemu/ |
H A D | ratelimit.h | 10 * See the COPYING.LIB file in the top-level directory. 45 QEMU_LOCK_GUARD(&limit->lock); in ratelimit_calculate_delay() 46 if (!limit->slice_quota) { in ratelimit_calculate_delay() 50 assert(limit->slice_ns); in ratelimit_calculate_delay() 52 if (limit->slice_end_time < now) { in ratelimit_calculate_delay() 55 limit->slice_start_time = now; in ratelimit_calculate_delay() 56 limit->slice_end_time = now + limit->slice_ns; in ratelimit_calculate_delay() 57 limit->dispatched = 0; in ratelimit_calculate_delay() 60 limit->dispatched += n; in ratelimit_calculate_delay() 61 if (limit->dispatched < limit->slice_quota) { in ratelimit_calculate_delay() [all …]
|
/openbmc/qemu/block/ |
H A D | commit.c | 11 * See the COPYING.LIB file in the top-level directory. 23 #include "sysemu/block-backend.h" 37 BlockBackend *top; member 53 bdrv_unfreeze_backing_chain(s->commit_top_bs, s->base_bs); in commit_prepare() 54 s->chain_frozen = false; in commit_prepare() 59 blk_unref(s->base); in commit_prepare() 60 s->base = NULL; in commit_prepare() 64 return bdrv_drop_intermediate(s->commit_top_bs, s->base_bs, in commit_prepare() 65 s->backing_file_str, in commit_prepare() 66 s->backing_mask_protocol); in commit_prepare() [all …]
|
/openbmc/linux/tools/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 @echo ' acpi - ACPI tools' 13 @echo ' bpf - misc BPF tools' 14 @echo ' cgroup - cgroup tools' 15 @echo ' counter - counter tools' 16 @echo ' cpupower - a tool for all things x86 CPU power' 17 @echo ' debugging - tools for debugging' 18 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer' 19 @echo ' firmware - Firmware tools' 20 @echo ' freefall - laptop accelerometer program for disk protection' [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|