[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
- [PATCH 4/9] util/vfio-helpers: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD, (continued)
- [PATCH 4/9] util/vfio-helpers: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD, Philippe Mathieu-Daudé, 2021/08/24
- [PATCH 6/9] util/vfio-helpers: Pass Error handle to qemu_vfio_dma_map(), Philippe Mathieu-Daudé, 2021/08/24
- [PATCH 7/9] util/vfio-helpers: Have qemu_vfio_dma_map() propagate Error, Philippe Mathieu-Daudé, 2021/08/24
- [PATCH 5/9] util/vfio-helpers: Remove unreachable code in qemu_vfio_dma_map(), Philippe Mathieu-Daudé, 2021/08/24
- [PATCH 8/9] util/vfio-helpers: Let qemu_vfio_do_mapping() propagate Error, Philippe Mathieu-Daudé, 2021/08/24
- [PATCH 9/9] block/nvme: Only report VFIO error on failed retry, Philippe Mathieu-Daudé, 2021/08/24
- Re: [PATCH 9/9] block/nvme: Only report VFIO error on failed retry,
Klaus Jensen <=