Re: [RFC PATCH v4 1/5] block/nvme: Use an array of EventNotifier

2020-08-20 Thread Stefan Hajnoczi
On Wed, Aug 19, 2020 at 06:03:14PM +0200, Philippe Mathieu-Daudé wrote: > 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). > > Signed-off-by: Philippe Mathieu-Daudé > --- > block/n

[RFC PATCH v4 1/5] block/nvme: Use an array of EventNotifier

2020-08-19 Thread Philippe Mathieu-Daudé
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). Signed-off-by: Philippe Mathieu-Daudé --- block/nvme.c | 31 +-- 1 file changed, 21 insertions(+), 10 delet