This change makes the error message provide more details on the values that
caused the error. Cosmetic, no functional change. Only useful for debugging
purpose.
CC: qemu-trivial@nongnu.org
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@mailo.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
error_setg(
errp,
"Processing of IGVM file failed: Could not prepare memory "
- "at address 0x%" PRIx64 ": region size exceeded",
- addr);
+ "at address 0x%" PRIx64 ": region size 0x%" PRIx64 " exceeded",
+ addr, size);
return NULL;
}
return qemu_map_ram_ptr(mrs.mr->ram_block, mrs.offset_within_region);