hw/vfio/platform: change interrupt/unmask fields into pointer
authorEric Auger <eric.auger@linaro.org>
Mon, 5 Oct 2015 18:30:12 +0000 (12:30 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 5 Oct 2015 18:30:12 +0000 (12:30 -0600)
commita22313deca720e038ebc5805cf451b3a685d29ce
tree709b5b7c0502cd08ca3f8934c9fcf60b728469be
parent58892b447f0ffcd0967bc6f1bcb40df288ebeebc
hw/vfio/platform: change interrupt/unmask fields into pointer

unmask EventNotifier might not be initialized in case of edge
sensitive irq. Using EventNotifier pointers make life simpler to
handle the edge-sensitive irqfd setup.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/platform.c
include/hw/vfio/vfio-platform.h