Loading
ima: verify if the segment size has changed
kexec 'load' may be called multiple times. Free and realloc the buffer only if the segment_size is changed from the previous kexec 'load' call. Signed-off-by:Steven Chen <chenste@linux.microsoft.com> Reviewed-by:
Stefan Berger <stefanb@linux.ibm.com> Acked-by:
Baoquan He <bhe@redhat.com> Tested-by: Stefan Berger <stefanb@linux.ibm.com> # ppc64/kvm Signed-off-by:
Mimi Zohar <zohar@linux.ibm.com>