summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/spapr.h
diff options
context:
space:
mode:
authorPaolo Bonzini2013-06-25 12:32:25 +0200
committerPaolo Bonzini2013-07-04 17:42:47 +0200
commit84af6d9f97bb144bbebe688364431804a190074a (patch)
tree087992e9d48a83dc43716bd80d9bae7a5c8599bd /include/hw/ppc/spapr.h
parentvfio: pass device to vfio_mmap_bar and use it to set owner (diff)
downloadqemu-84af6d9f97bb144bbebe688364431804a190074a.tar.gz
qemu-84af6d9f97bb144bbebe688364431804a190074a.tar.xz
qemu-84af6d9f97bb144bbebe688364431804a190074a.zip
spapr_iommu: pass device to spapr_tce_new_table and use it to set owner
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-rw-r--r--include/hw/ppc/spapr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index 09c4570982..de95480734 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -348,7 +348,8 @@ typedef struct sPAPRTCETable sPAPRTCETable;
void spapr_iommu_init(void);
void spapr_events_init(sPAPREnvironment *spapr);
void spapr_events_fdt_skel(void *fdt, uint32_t epow_irq);
-sPAPRTCETable *spapr_tce_new_table(uint32_t liobn, size_t window_size);
+sPAPRTCETable *spapr_tce_new_table(DeviceState *owner, uint32_t liobn,
+ size_t window_size);
MemoryRegion *spapr_tce_get_iommu(sPAPRTCETable *tcet);
void spapr_tce_free(sPAPRTCETable *tcet);
void spapr_tce_reset(sPAPRTCETable *tcet);