]> git.proxmox.com Git - mirror_qemu.git/commit
exec: small changes to flatview_do_translate
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Apr 2018 09:39:35 +0000 (11:39 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 May 2018 22:13:38 +0000 (00:13 +0200)
commitad2804d9e47df2dab642a253502b5ceef233f450
tree0378f2e48a1eb0c7eccc0c8924717f19264d5500
parent4269c82bf72f7e171a03a09b9264b0db76ae0050
exec: small changes to flatview_do_translate

Prepare for extracting the IOMMU part to a separate function.  Mostly
cosmetic; the only semantic change is that, if there is more than one
cascaded IOMMU and the second one fails to translate, *plen_out is now
adjusted according to the page mask of the first IOMMU.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c