commit | 5709af3b9520c6912fc909128ae284512b127600 | [log] [tgz] |
---|---|---|
author | Greg Kurz <gkurz@linux.vnet.ibm.com> | Thu Jul 02 16:23:12 2015 +1000 |
committer | Alexander Graf <agraf@suse.de> | Tue Jul 07 17:44:51 2015 +0200 |
tree | 7efd1aa57bcad105f41db296e732756660cf13b2 | |
parent | 4d9ab7d4ed46c63d047862d11946996005742a09 [diff] |
spapr_iommu: translate sPAPRTCEAccess to IOMMUAccessFlags The fact that these enums have matching values is pure coincidence. We actually need to translate from the PAPR definition to the QEMU one. This patch doesn't fix any bug, it is only code cleanup. Suggested-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>