intel_iommu: fix incorrect device invalidate
commit6cb99acc2808cc41e2d772a23e9cc564515535cc
authorPeter Xu <peterx@redhat.com>
Tue, 29 Nov 2016 05:43:40 +0000 (29 13:43 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 30 Nov 2016 02:20:57 +0000 (30 04:20 +0200)
tree4f6d1196a42a6eb1d7c5688f1b6a08b9eb435b5f
parent5449c230fac9cd6a645fe8c85693444dad512b59
intel_iommu: fix incorrect device invalidate

"mask" needs to be inverted before use.

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