Re: [PATCH 2/2] drm/i915/gvt: subsitute kvm_read/write_guest with vfio_iova_rw

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

 



On 03/01/20 02:03, Yan Zhao wrote:
> +	ret = write ? vfio_iova_rw(dev, gpa, buf, len, true) :
> +			vfio_iova_rw(dev, gpa, buf, len, false);
>  
>  	return ret;

"Write" can be just the final argument to vfio_iova_rw, that is

   return vfio_iova_rw(dev, gpa, buf, len, write):

Thanks,

Paolo




[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