]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildMemoryBackendProps: Fix const correctness
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 25 May 2020 13:00:17 +0000 (15:00 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 1 Oct 2020 10:03:57 +0000 (12:03 +0200)
commitd1ffc8cd3e5ba4c85f338b01c67051ee5168658d
treeb63d976135e31d2927debf679a51807fe9029285
parenta658a4bdf721d37144841c212b0a0da15595f03f
qemuBuildMemoryBackendProps: Fix const correctness

The objects at @def and @mem pointers are only read and not
written. Make the arguments const to make that explicit.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h