]> git.proxmox.com Git - mirror_qemu.git/commit
x86-iommu: introduce parent class
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:10 +0000 (13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Jul 2016 16:30:27 +0000 (19:30 +0300)
commit1c7955c4503211f45a83e6480bd876f079ba5cd8
treeae84c09c78af0b270955bcba5789445fe79bf8ea
parentb1af7959a66610669e1a019b9a84f6ed3a7936c6
x86-iommu: introduce parent class

Introducing parent class for intel-iommu devices named "x86-iommu". This
is preparation work to abstract shared functionalities out from Intel
and AMD IOMMUs. Currently, only the parent class is introduced. It does
nothing yet.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/Makefile.objs
hw/i386/intel_iommu.c
hw/i386/x86-iommu.c [new file with mode: 0644]
include/hw/i386/intel_iommu.h
include/hw/i386/x86-iommu.h [new file with mode: 0644]