[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 9/9] block/nvme: Only report VFIO error on failed retry
From: |
Klaus Jensen |
Subject: |
Re: [PATCH 9/9] block/nvme: Only report VFIO error on failed retry |
Date: |
Wed, 25 Aug 2021 14:18:25 +0200 |
On Aug 24 16:11, Philippe Mathieu-Daudé wrote:
> We expect the first qemu_vfio_dma_map() to fail (indicating
> DMA mappings exhaustion, see commit 15a730e7a3a). Do not
> report the first failure as error, since we are going to
> flush the mappings and retry.
>
> This removes spurious error message displayed on the monitor:
>
> (qemu) c
> (qemu) qemu-kvm: VFIO_MAP_DMA failed: No space left on device
> (qemu) info status
> VM status: running
>
> Reported-by: Tingting Mao <timao@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Neat.
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
signature.asc
Description: PGP signature