]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/intel_iommu.c
intel-iommu: remove IntelIOMMUNotifierNode
authorPeter Xu <peterx@redhat.com>
Fri, 18 May 2018 07:25:10 +0000 (15:25 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 23 May 2018 14:33:57 +0000 (17:33 +0300)
commitb4a4ba0d68f50f218ee3957b6638dbee32a5eeef
treee77123bfa47f98ca344611692850a6cb8592d1e2
parent36d2d52bdb45f5b753a61fdaf0fe7891f1f5b61d
intel-iommu: remove IntelIOMMUNotifierNode

That is not really necessary.  Removing that node struct and put the
list entry directly into VTDAddressSpace.  It simplfies the code a lot.
Since at it, rename the old notifiers_list into vtd_as_with_notifiers.

CC: QEMU Stable <qemu-stable@nongnu.org>
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/intel_iommu.c
include/hw/i386/intel_iommu.h