[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 1/2] vfio: move implement of vfio_get_xlat_addr() to memor
From: |
Alex Williamson |
Subject: |
Re: [PATCH v9 1/2] vfio: move implement of vfio_get_xlat_addr() to memory.c |
Date: |
Sun, 30 Oct 2022 21:20:11 -0600 |
On Mon, 31 Oct 2022 11:10:19 +0800
Cindy Lu <lulu@redhat.com> wrote:
> - Move the implement vfio_get_xlat_addr to softmmu/memory.c, and
> change the name to memory_get_xlat_addr(). So we can use this
> function on other devices, such as vDPA device.
> - Add a new function vfio_get_xlat_addr in vfio/common.c, and it will check
> whether the memory is backed by a discard manager. then device can
> have its own warning.
>
> Signed-off-by: Cindy Lu <lulu@redhat.com>
> ---
> hw/vfio/common.c | 66 +++------------------------------------
> include/exec/memory.h | 4 +++
> softmmu/memory.c | 72 +++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 81 insertions(+), 61 deletions(-)
Acked-by: Alex Williamson <alex.williamson@redhat.com>
[PATCH v9 2/2] vhost-vdpa: add support for vIOMMU, Cindy Lu, 2022/10/30