]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory/iommu: introduce IOMMUMemoryRegionClass
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 11 Jul 2017 03:56:20 +0000 (13:56 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 10:04:41 +0000 (12:04 +0200)
commit1221a4746769f70231beab4db8da1c937e60340c
treebbed52840d69ac3c8a6cfbc3043e66f1d2e3bab6
parent3df9d748067f5a7f01b98ddc63597c98c8244a95
memory/iommu: introduce IOMMUMemoryRegionClass

This finishes QOM'fication of IOMMUMemoryRegion by introducing
a IOMMUMemoryRegionClass. This also provides a fastpath analog for
IOMMU_MEMORY_REGION_GET_CLASS().

This makes IOMMUMemoryRegion an abstract class.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20170711035620.4232-3-aik@ozlabs.ru>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
15 files changed:
exec.c
hw/alpha/typhoon.c
hw/dma/rc4030.c
hw/i386/amd_iommu.c
hw/i386/amd_iommu.h
hw/i386/intel_iommu.c
hw/pci-host/apb.c
hw/ppc/spapr_iommu.c
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h
hw/s390x/s390-pci-inst.c
include/exec/memory.h
include/hw/i386/intel_iommu.h
include/hw/ppc/spapr.h
memory.c