Re: [Qemu-devel] [PATCH for-4.1] vfio/common: Introduce vfio_set_irq_signaling helper

2019-05-20 Thread Auger Eric
Hi Alex, On 5/16/19 12:52 AM, Alex Williamson wrote: > On Tue, 9 Apr 2019 17:58:31 +0200 > Eric Auger wrote: > >> The code used to assign an interrupt index/subindex to an >> eventfd is duplicated many times. Let's introduce an helper that >> allows to set/unset the signaling for an ACTION_TRIG

Re: [Qemu-devel] [PATCH for-4.1] vfio/common: Introduce vfio_set_irq_signaling helper

2019-05-15 Thread Alex Williamson
On Tue, 9 Apr 2019 17:58:31 +0200 Eric Auger wrote: > The code used to assign an interrupt index/subindex to an > eventfd is duplicated many times. Let's introduce an helper that > allows to set/unset the signaling for an ACTION_TRIGGER or > ACTION_UNMASK action. > > Signed-off-by: Eric Auger

Re: [Qemu-devel] [PATCH for-4.1] vfio/common: Introduce vfio_set_irq_signaling helper

2019-04-23 Thread Auger Eric
Hi Cornelia On 4/12/19 1:31 PM, Cornelia Huck wrote: > On Tue, 9 Apr 2019 17:58:31 +0200 > Eric Auger wrote: > >> The code used to assign an interrupt index/subindex to an >> eventfd is duplicated many times. Let's introduce an helper that >> allows to set/unset the signaling for an ACTION_TRIG

Re: [Qemu-devel] [PATCH for-4.1] vfio/common: Introduce vfio_set_irq_signaling helper

2019-04-12 Thread Cornelia Huck
On Tue, 9 Apr 2019 17:58:31 +0200 Eric Auger wrote: > The code used to assign an interrupt index/subindex to an > eventfd is duplicated many times. Let's introduce an helper that > allows to set/unset the signaling for an ACTION_TRIGGER or > ACTION_UNMASK action. I like that, and it looks like

[Qemu-devel] [PATCH for-4.1] vfio/common: Introduce vfio_set_irq_signaling helper

2019-04-09 Thread Eric Auger
The code used to assign an interrupt index/subindex to an eventfd is duplicated many times. Let's introduce an helper that allows to set/unset the signaling for an ACTION_TRIGGER or ACTION_UNMASK action. Signed-off-by: Eric Auger --- This is a follow-up to [PATCH v2 0/2] vfio-pci: Introduce vfi