aboutsummaryrefslogtreecommitdiff
path: root/qga/commands.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2023-02-07 15:37:18 -0500
committerStefan Hajnoczi <stefanha@redhat.com>2023-02-09 10:22:30 -0500
commit00e2a04c274cacfc2134e7b88f120ebe762f7223 (patch)
tree31fb0f20510bf554440e99368c1f2f1acb90d717 /qga/commands.c
parent1321e00801bc26ff8059e8513f3ae3f7265d24f6 (diff)
downloadqemu-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