block/nvme: Use an array of EventNotifier
commitb111b3fcdecc7ce441fa6760e116c3c45b4b8133
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 21 Aug 2020 19:53:59 +0000 (21 21:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:30 +0000 (7 12:31 +0200)
treedebd6a64f196d476ce17750a4e4e1db20467c6a5
parent7a1fb2ef40df508e90eb756a80d67e6435246cae
block/nvme: Use an array of EventNotifier

In preparation of using multiple IRQ (thus multiple eventfds)
make BDRVNVMeState::irq_notifier an array (for now of a single
element, the admin queue notifier).

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200821195359.1285345-16-philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nvme.c