From c4564f3ba864c195f6d99d372a6d0b1502405c75 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 25 Mar 2021 09:25:26 +0000 Subject: [PATCH] block_util: Enhance error reporting for virtio-block usage There are multiple reports of DescriptorChainTooShort errors and so add some extra debugging to aid the debugging of this issue. Signed-off-by: Rob Bradford --- block_util/src/lib.rs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/block_util/src/lib.rs b/block_util/src/lib.rs index 8527a7fc2..a9d1b0bbc 100644 --- a/block_util/src/lib.rs +++ b/block_util/src/lib.rs @@ -163,6 +163,7 @@ fn sector(mem: &GuestMemoryMmap, desc_addr: GuestAddress) -> result::Result