Re: [PATCH v14 19/26] vfio: Test kvm pointer in _vfio_device_get_kvm_safe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 10, 2023 at 07:59:21PM -0700, Yi Liu wrote:
> This saves some lines when adding the kvm get logic for the vfio_device
> cdev path.
> 
> This also renames _vfio_device_get_kvm_safe() to be vfio_device_get_kvm_safe().
> 
> Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>
> ---
>  drivers/vfio/group.c     | 7 +------
>  drivers/vfio/vfio.h      | 6 +++---
>  drivers/vfio/vfio_main.c | 5 ++++-
>  3 files changed, 8 insertions(+), 10 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux