[PULL 7/8] igvm: spit out region size on error
Michael Tokarev <[email protected]> Fri, 12 Jun 2026 19:59:51 +0300
| Newsgroups | org.nongnu.qemu-trivial,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Ani Sinha <[email protected]> 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: [email protected] Signed-off-by: Ani Sinha <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Michael Tokarev <[email protected]> Signed-off-by: Michael Tokarev <[email protected]> --- backends/igvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/igvm.c b/backends/igvm.c index c347d0c17e..9b889f0428 100644 --- a/backends/igvm.c +++ b/backends/igvm.c @@ -198,8 +198,8 @@ static void *qigvm_prepare_memory(QIgvm *ctx, uint64_t addr, uint64_t size, 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); -- 2.47.3