dump: const-qualify the buf of WriteCoreDumpFunction
authorqiaonuohan <qiaonuohan@cn.fujitsu.com>
Tue, 18 Feb 2014 06:11:25 +0000 (14:11 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Feb 2014 16:49:02 +0000 (11:49 -0500)
commitb5ba1cc6260917926781fb79fbb05d53bf586d53
treef0fe01eb78658d62600c83a58d7dbb0f2e1480e9
parentfbb0621a0f7aae2803d7460fc225402f9ea92000
dump: const-qualify the buf of WriteCoreDumpFunction

WriteCoreDumpFunction is a function pointer that points to the function used to
write content in "buf" into core file, so "buf" should be const-qualify.

Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
dump.c
include/qom/cpu.h