]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: Limit qemuProcessQMPNew to const input strings
authorChris Venteicher <cventeic@redhat.com>
Sun, 13 Jan 2019 00:50:02 +0000 (18:50 -0600)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 19 Feb 2019 17:40:49 +0000 (18:40 +0100)
commit1aa4257569c693e27c221f7591482dac040a3f95
tree50efc2cdbcdd0596f54246dafe690cb02faf183b
parent3bdb6e826f0e7b9922f0e5d47a278f74dc1a9837
qemu_process: Limit qemuProcessQMPNew to const input strings

Add the const qualifier on non modified strings
(string only copied inside qemuProcessQMPNew)
so that const strings can be used directly in calls to
qemuProcessQMPNew in future patches.

Signed-off-by: Chris Venteicher <cventeic@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c
src/qemu/qemu_process.h