]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDiskConfigBlkdeviotuneEnabled: Make 'disk' argument const
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 May 2023 14:52:36 +0000 (16:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Jun 2023 11:20:13 +0000 (13:20 +0200)
commit6d6a87f229a40dd3da476dd1bdff5f6550a9278a
treec5aa15b3634fff624e87ef81f2e3b12bd51f834c
parentcec5a9989ccfacdfb249f7e09bf911c6ce1504c3
qemuDiskConfigBlkdeviotuneEnabled: Make 'disk' argument const

The function doesn't modify it. Fix the argument declaration so that the
function can be used in a context where we have a 'const' disk
definition.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h