]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: introduce IOMMUOps.notify_flag_changed
authorPeter Xu <peterx@redhat.com>
Fri, 23 Sep 2016 05:02:27 +0000 (13:02 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Sep 2016 07:00:04 +0000 (09:00 +0200)
commit5bf3d319030b1e95116ba49b31339f2bdd1d3b2a
treeb4d053cd9c0825b247957f30130e668d3965ac6c
parentcdb3081269347fd9271fd1b7a9df312e2953bdd9
memory: introduce IOMMUOps.notify_flag_changed

The new interface can be used to replace the old notify_started() and
notify_stopped(). Meanwhile it provides explicit flags so that IOMMUs
can know what kind of notifications it is requested for.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1474606948-14391-3-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/amd_iommu.c
hw/i386/intel_iommu.c
hw/ppc/spapr_iommu.c
include/exec/memory.h
memory.c