[libvirt] [PATCH 03/20] qemu_process: Limit qemuProcessQMPNew to const input strings

Ján Tomko jtomko at redhat.com
Tue Feb 19 14:57:00 UTC 2019


On Tue, Feb 19, 2019 at 10:04:46AM +0100, Jiri Denemark wrote:
>From: Chris Venteicher <cventeic at redhat.com>
>
>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 at redhat.com>
>Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
>
>Notes:
>    Version 7:
>    - no change
>
> src/qemu/qemu_process.c | 2 +-
> src/qemu/qemu_process.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190219/85b74bfe/attachment-0001.sig>


More information about the libvir-list mailing list