lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ