]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildMemoryDeviceProps: Fix const correctness
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Dec 2021 12:23:04 +0000 (13:23 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Jan 2022 11:41:26 +0000 (12:41 +0100)
commitbad883787faf06ff10a7d892671302db178b0c97
treeb2d2e3f37b4bb7b059b35d0116e9ded63f823531
parent0f97f9860c9664807e262ea26448e39c6cbb092a
qemuBuildMemoryDeviceProps: Fix const correctness

The @mem agrument of qemuBuildMemoryDeviceProps() function is
only read from. Make this fact obvious from the function
declaration too.

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