OSDN Git Service

intel_iommu: reset intr_enabled when system reset
authorPeter Xu <peterx@redhat.com>
Wed, 16 Jan 2019 03:08:13 +0000 (11:08 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Feb 2019 15:58:33 +0000 (10:58 -0500)
commitd7bb469afa015e28a443faf1600a5a28b5fa483a
tree1b9648d1b6bedd476ac4646c856d425f59e1d8df
parent2a078b1080917dc6143783e1dd645e188d11dc8f
intel_iommu: reset intr_enabled when system reset

This is found when I was debugging another problem.  Until now no bug
is reported with this but we'd better reset the IR status correctly
after a system reset.

Acked-by: Jason Wang <jasowang@redhat.com>
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