[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 17/21] vfio/ccw: Make vfio cdev pre-openable by passing a
From: |
Eric Farman |
Subject: |
Re: [PATCH v6 17/21] vfio/ccw: Make vfio cdev pre-openable by passing a file handle |
Date: |
Wed, 15 Nov 2023 13:46:21 -0500 |
User-agent: |
Evolution 3.48.4 (3.48.4-1.fc38) |
On Tue, 2023-11-14 at 18:09 +0800, Zhenzhong Duan wrote:
> This gives management tools like libvirt a chance to open the vfio
> cdev with privilege and pass FD to qemu. This way qemu never needs
> to have privilege to open a VFIO or iommu cdev node.
>
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
> ---
> hw/vfio/ccw.c | 25 ++++++++++++++++++++++---
> 1 file changed, 22 insertions(+), 3 deletions(-)
Reviewed-by: Eric Farman <farman@linux.ibm.com>