[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5838d595-ba77-5506-4f2a-d555681a9cc5@redhat.com>
Date: Tue, 7 Jan 2020 11:21:48 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Yan Zhao <yan.y.zhao@...el.com>, zhenyuw@...ux.intel.com
Cc: alex.williamson@...hat.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, intel-gvt@...ists.intel.com,
kevin.tian@...el.com
Subject: Re: [PATCH 2/2] drm/i915/gvt: subsitute kvm_read/write_guest with
vfio_iova_rw
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
Powered by blists - more mailing lists