diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-02-07 15:37:18 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2023-02-09 10:22:30 -0500 |
commit | 00e2a04c274cacfc2134e7b88f120ebe762f7223 (patch) | |
tree | 31fb0f20510bf554440e99368c1f2f1acb90d717 /qga/commands.c | |
parent | 1321e00801bc26ff8059e8513f3ae3f7265d24f6 (diff) | |
download | qemu-00e2a04c274cacfc2134e7b88f120ebe762f7223.zip qemu-00e2a04c274cacfc2134e7b88f120ebe762f7223.tar.gz qemu-00e2a04c274cacfc2134e7b88f120ebe762f7223.tar.bz2 |
qemu-io: add -r option to register I/O buffer
The blk_register_buf() API is an optimization hint that allows some
block drivers to avoid I/O buffer housekeeping or bounce buffers.
Add an -r option to register the I/O buffer so that qemu-io can be used
to test the blk_register_buf() API. The next commit will add a test that
uses the new option.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230207203719.242926-4-stefanha@redhat.com>
Diffstat (limited to 'qga/commands.c')
0 files changed, 0 insertions, 0 deletions